CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
iproute2: deleted port
[crossrootfs.git] / ports / Pkgfile
index 98270614867ff9da9f0b37727d1f9291d5ab2fe4..0bead6f23d59e9de7c39092400f86addfa561800 100644 (file)
@@ -6,14 +6,22 @@
 name=ports
 version=1.5
 release=11
-source=(http://crux.nu/files/tools/ports/$name-$version.tar.gz \
-        core.rsync opt.rsync xorg.rsync contrib.rsync.inactive \
-        core-arm.rsync opt-arm.rsync xorg-arm.rsync)
+source=(http://crux.nu/files/tools/ports/$name-$version.tar.gz)
 
 build () {
   cd $name-$version
   make
   make DESTDIR=$PKG install
 
-  install -m 0644 $SRC/*.rsync* $PKG/etc/ports
+  # 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-arm
+URL=http://crux-arm.nu/ports/crux-2.8/core-arm
+__EOF__
 }
+