CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
sed: updated to 4.5
[crossrootfs.git] / sed / Pkgfile
index fc5dc4ff6502defb8c628b83cbcc3c11e92789da..5667932116ce2de4bd8cdc91a5cdef340820e766 100644 (file)
@@ -1,22 +1,24 @@
 # Description: Sed - streams editor
 # URL: http://www.gnu.org/software/sed//sed.html
 # Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on:
 
 name=sed
-version=4.2.1
+version=4.5
 release=1
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
+source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.xz)
 
 build() {
-    cd $name-$version
-    ./configure --build=$CHOST \
-               --host=$CTARGET \
-               --prefix=/usr \
-               --mandir=/usr/man \
-               --exec-prefix=/ \
-               --disable-nls
-    make
-    make DESTDIR=$PKG install
-    rm -r $PKG/usr/share
+  cd $name-$version
+
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr \
+              --exec-prefix=/ \
+              --disable-nls
+
+  make
+  make DESTDIR=$PKG install
+  rm -r $PKG/usr/share/info
 }