CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
6162e217f37dd3c6dbdc73bc07cce5d08c594ed6
[crossrootfs.git] / sed / Pkgfile
1 # Description: Sed - streams editor
2 # URL: http://www.gnu.org/software/sed//sed.html
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on:
6
7 name=sed
8 version=4.2.1
9 release=1
10 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
11
12 build() {
13 cd $name-$version
14
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr \
18 --mandir=/usr/man \
19 --exec-prefix=/ \
20 --disable-nls
21
22 make
23 make DESTDIR=$PKG install
24
25 rm -r $PKG/usr/share
26 }