drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/ports/
--rw-r--r-- root/root etc/ports/contrib.rsync.inactive
--rw-r--r-- root/root etc/ports/core-arm.rsync
--rw-r--r-- root/root etc/ports/core.rsync
+-rw-r--r-- root/root etc/ports/core-arm.httpup
+-rw-r--r-- root/root etc/ports/core.httpup
drwxr-xr-x root/root etc/ports/drivers/
--rw-r--r-- root/root etc/ports/opt-arm.rsync
--rw-r--r-- root/root etc/ports/opt.rsync
--rw-r--r-- root/root etc/ports/xorg-arm.rsync
--rw-r--r-- root/root etc/ports/xorg.rsync
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/ports
-c79603d71569837b6848c5cb320c44bd contrib.rsync.inactive
-2ed3873acf5ecfec6575a69d1a200ace core-arm.rsync
-b77a6e0dd97a45652de03bd3a82a416f core.rsync
-c9abc72a1ccfdef8fd1ec5162617cae2 opt-arm.rsync
-03246f47123cd2342ddfaf4c44fa9c89 opt.rsync
1f178e2bb1beab9782993931c9832280 ports-1.5.tar.gz
-eaf090c823185bd08fa041905cee8dda xorg-arm.rsync
-320d50cc72759a55097b1b2d4c40da9a xorg.rsync
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-armhf
+URL=http://crux-arm.nu/ports/crux-2.8/core-armhf
+__EOF__
}
+