diff options
Diffstat (limited to 'sed/Pkgfile')
-rw-r--r-- | sed/Pkgfile | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/sed/Pkgfile b/sed/Pkgfile index e3947a0..8c42ea0 100644 --- a/sed/Pkgfile +++ b/sed/Pkgfile @@ -1,18 +1,21 @@ -description="Sed - streams editor" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +description="Sed - streams editor." +packager="CRUX System Team <core-ports AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" url="http://www.gnu.org/software/sed//sed.html" depends=(acl) name=sed version=4.2.1 release=1 -source=(http://ftp.gnu.org/gnu/sed/sed-4.2.1.tar.bz2) +source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2) build () { - cd $name-$version; - ./configure --prefix=/usr --mandir=/usr/man --exec-prefix=/ --disable-nls; - make; - make DESTDIR=$PKG install; - rm -r $PKG/usr/share + cd $name-$version; + ./configure \ + --prefix=$prefix \ + --mandir=$mandir \ + --exec-prefix=/ \ + $(use_enable nls); + make; + make DESTDIR=$PKG install; } |