# 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@crux-arm.nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
name=ports
version=1.5
-release=9
-source=(http://crux.nu/files/tools/ports/$name-$version.tar.gz \
- core.rsync opt.rsync xorg.rsync contrib.rsync.inactive)
+release=11
+source=(http://crux.nu/files/tools/ports/$name-$version.tar.gz)
build () {
- cd $name-$version
- make
- make DESTDIR=$PKG install
+ cd $name-$version
+ make
+ make DESTDIR=$PKG install
- install -m 0644 ../core.rsync $PKG/etc/ports/core.rsync
- install -m 0644 ../opt.rsync $PKG/etc/ports/opt.rsync
- install -m 0644 ../xorg.rsync $PKG/etc/ports/xorg.rsync
- install -m 0644 ../contrib.rsync.inactive \
- $PKG/etc/ports/contrib.rsync.inactive
+ # 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__
}
+