CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
gcc: updated to 6.3.0
[crossrootfs.git] / httpup / Pkgfile
index f599e35481a6697b0faa999f1ff77169f432e0bb..93fe9282e1c9f42be78107f17df0d577113547ab 100644 (file)
@@ -5,17 +5,14 @@
 # Depends on: curl
 
 name=httpup
-version=0.4.0k
-release=1
-source=(http://jw.tks6.net/files/crux/${name}-$version.tar.gz httpup)
+version=0.4.0l
+release=2
+source=(http://crux.nu/files/$name-$version.tar.gz httpup)
 
 build() {
   cd $name-$version
-
+  sed "s|-O2 -pipe|$CFLAGS|g" -i Makefile
   make CXX=$CXX STRIP=$STRIP
-  mkdir -p $PKG/usr/{bin,man/man8}
-
-  cp httpup httpup-repgen $PKG/usr/bin
+  make DESTDIR=$PKG prefix=/usr mandir=/usr/share/man install
   install -D -m 755 $SRC/httpup $PKG/etc/ports/drivers/httpup
-  cp *.8 $PKG/usr/man/man8
 }