CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
sed: updated mandir
[crossrootfs.git] / ports / Pkgfile
index 9cd19177e9346d7ff1d5aaa22debce998ce602b5..8f4830ac2e76b2cbc9951eb940df79e891e35784 100644 (file)
@@ -1,27 +1,18 @@
 # Description: CRUX ports system tools
-# URL: http://crux.nu
-# Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# URL:         http://crux.nu
+# Maintainer:  CRUX System Team, core-ports at crux dot nu
 
 name=ports
 version=1.5
-release=11
-source=(http://crux.nu/files/tools/ports/$name-$version.tar.gz)
+release=17
+
+source=(http://crux.nu/files/tools/ports/$name-$version.tar.gz \
+        core.rsync)
 
 build () {
   cd $name-$version
   make
-  make DESTDIR=$PKG install
+  make DESTDIR=$PKG MANDIR=/usr/share/man install
 
-  # use httpup for core-cross since we don't have rsync
-  # also note that we only need core and core-arm overlay
-  cat > $PKG/etc/ports/core.httpup << __EOF__
-ROOT_DIR=/usr/ports/core
-URL=http://crux.nu/ports/crux-2.8/core
-__EOF__
-  cat > $PKG/etc/ports/core-arm.httpup << __EOF__
-ROOT_DIR=/usr/ports/core-armhf
-URL=http://crux-arm.nu/ports/crux-2.8/core-armhf
-__EOF__
+  install -m 0644 $SRC/core.rsync $PKG/etc/ports
 }
-