35 lines
994 B
Bash
35 lines
994 B
Bash
# Template file for 'xbps-static'
|
|
# NOTE: keep this package synchronized with "srcpkgs/xbps"
|
|
pkgname=xbps-static
|
|
version=0.59.1
|
|
revision=1
|
|
# 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, BSD-3-Clause, ISC"
|
|
homepage="https://github.com/void-linux/xbps"
|
|
changelog="https://github.com/void-linux/xbps/blob/master/NEWS"
|
|
distfiles="https://github.com/void-linux/xbps/archive/${version}.tar.gz"
|
|
checksum=0cbd8d5f23a62047c75974bca21da9f004a94efffd7f37c68562a8dbc869fb2a
|
|
|
|
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
|
|
}
|