xbps: add main repo for musl.

This commit is contained in:
Juan RP 2015-05-08 17:48:17 +02:00
parent 1f96469d8f
commit 81c63d1d62
1 changed files with 9 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'xbps'
pkgname=xbps
version=0.44.1
revision=3
revision=4
bootstrap=yes
build_style=configure
short_desc="The XBPS package system utilities"
@ -33,6 +33,14 @@ do_configure() {
HAVE_VASPRINTF=1 ./configure --prefix=/usr --sysconfdir=/etc --enable-debug \
${CHROOT_READY:+--enable-tests}
}
post_install() {
case "$XBPS_TARGET_MACHINE" in
*-musl) # XXX different repo location
echo "repository=http://musl.voidlinux.net/current" > \
${DESTDIR}/usr/share/xbps.d/00-repository-main.conf
;;
esac
}
libxbps_package() {
short_desc+=" - runtime library"