mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-05 20:32:58 +02:00
xbps-beta: remove beta
This commit is contained in:
parent
c8cfa8c144
commit
fb2e140513
3 changed files with 0 additions and 81 deletions
|
@ -1 +0,0 @@
|
||||||
xbps-beta
|
|
|
@ -1,12 +0,0 @@
|
||||||
case "${ACTION}" in
|
|
||||||
post)
|
|
||||||
chown root:xbuilder usr/bin/xbps-uchroot
|
|
||||||
chmod 4750 usr/bin/xbps-uchroot
|
|
||||||
|
|
||||||
if [ -d usr/sbin -a ! -L /usr/sbin ]; then
|
|
||||||
for f in usr/bin/xbps-*; do
|
|
||||||
ln -sr $f usr/sbin/$(basename $f)
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
|
@ -1,68 +0,0 @@
|
||||||
# Template file for 'xbps-beta'
|
|
||||||
pkgname=xbps-beta
|
|
||||||
version=0.51.90
|
|
||||||
revision=2
|
|
||||||
build_style=configure
|
|
||||||
short_desc="The XBPS package system utilities"
|
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
||||||
homepage="https://github.com/voidlinux/xbps"
|
|
||||||
license="2-clause-BSD"
|
|
||||||
distfiles="https://github.com/voidlinux/xbps/archive/$version.tar.gz"
|
|
||||||
checksum=5e768a708843afc8cd2218465868235acfd978428188e0e156a46bc07f3f3f0c
|
|
||||||
wrksrc=xbps-${version}
|
|
||||||
provides="xbps-${version}_${revision}"
|
|
||||||
replaces="xbps>=0"
|
|
||||||
|
|
||||||
CFLAGS="-Wno-error"
|
|
||||||
|
|
||||||
hostmakedepends="pkg-config"
|
|
||||||
makedepends="zlib-devel libressl-devel libarchive-devel"
|
|
||||||
depends="ca-certificates xbps-triggers libxbps-beta>=$version"
|
|
||||||
|
|
||||||
# xbps needs symbols from glibc-2.22
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
*-musl) : ;;
|
|
||||||
*) depends+=" glibc>=2.22" ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
do_configure() {
|
|
||||||
HAVE_VASPRINTF=1 ./configure --prefix=/usr --sysconfdir=/etc --enable-debug \
|
|
||||||
--bindir=/usr/bin
|
|
||||||
}
|
|
||||||
post_install() {
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
aarch64*) # XXX different repo location
|
|
||||||
echo "repository=https://repo.voidlinux.eu/current/aarch64" > \
|
|
||||||
${DESTDIR}/usr/share/xbps.d/00-repository-main.conf
|
|
||||||
;;
|
|
||||||
*-musl) # XXX different repo location
|
|
||||||
echo "repository=https://repo.voidlinux.eu/current/musl" > \
|
|
||||||
${DESTDIR}/usr/share/xbps.d/00-repository-main.conf
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "repository=https://repo.voidlinux.eu/current" > \
|
|
||||||
${DESTDIR}/usr/share/xbps.d/00-repository-main.conf
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
vmkdir etc/xbps.d
|
|
||||||
touch ${DESTDIR}/etc/xbps.d/.empty
|
|
||||||
}
|
|
||||||
|
|
||||||
libxbps-beta_package() {
|
|
||||||
short_desc+=" - runtime library"
|
|
||||||
provides="libxbps-${version}_${revision}"
|
|
||||||
replaces="libxbps>=0"
|
|
||||||
pkg_install() {
|
|
||||||
vmove "usr/lib/*.so.*"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
libxbps-beta-devel_package() {
|
|
||||||
short_desc+=" - runtime library (development files)"
|
|
||||||
depends="zlib-devel libarchive-devel libxbps-beta>=${version}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/include
|
|
||||||
vmove "usr/lib/*.a"
|
|
||||||
vmove "usr/lib/*.so"
|
|
||||||
vmove usr/lib/pkgconfig
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue