34 lines
969 B
Bash
34 lines
969 B
Bash
# Template file for 'xbps-static'
|
|
# NOTE: keep this package synchronized with "srcpkgs/xbps"
|
|
pkgname=xbps-static
|
|
version=0.56
|
|
revision=5
|
|
# only musl
|
|
archs="*-musl"
|
|
wrksrc="xbps-${version}"
|
|
build_style=configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libarchive-devel"
|
|
depends="xbps-triggers"
|
|
short_desc="XBPS package system utilities - static binaries"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://www.voidlinux.org/xbps"
|
|
changelog="https://github.com/void-linux/xbps/blob/master/NEWS"
|
|
distfiles="https://github.com/void-linux/xbps/archive/${version}.tar.gz"
|
|
checksum=e46521513b0c0ff486cc190089277381b18db45e770b04f799dc4eec99ffccd4
|
|
|
|
do_configure() {
|
|
./configure --prefix=/usr --sysconfdir=/etc --enable-static
|
|
}
|
|
|
|
do_install() {
|
|
make DESTDIR=${wrksrc}/static-install install
|
|
vmkdir usr/bin
|
|
mv ${wrksrc}/static-install/usr/bin/*.static ${DESTDIR}/usr/bin
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vlicense LICENSE.3RDPARTY
|
|
}
|