xbps: add main repo for musl.
This commit is contained in:
parent
1f96469d8f
commit
81c63d1d62
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue