xbps: add main repo for musl.
This commit is contained in:
parent
1f96469d8f
commit
81c63d1d62
1 changed files with 9 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'xbps'
|
# Template file for 'xbps'
|
||||||
pkgname=xbps
|
pkgname=xbps
|
||||||
version=0.44.1
|
version=0.44.1
|
||||||
revision=3
|
revision=4
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
build_style=configure
|
build_style=configure
|
||||||
short_desc="The XBPS package system utilities"
|
short_desc="The XBPS package system utilities"
|
||||||
|
@ -33,6 +33,14 @@ do_configure() {
|
||||||
HAVE_VASPRINTF=1 ./configure --prefix=/usr --sysconfdir=/etc --enable-debug \
|
HAVE_VASPRINTF=1 ./configure --prefix=/usr --sysconfdir=/etc --enable-debug \
|
||||||
${CHROOT_READY:+--enable-tests}
|
${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() {
|
libxbps_package() {
|
||||||
short_desc+=" - runtime library"
|
short_desc+=" - runtime library"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue