void-packages/srcpkgs/xbps/template

63 lines
1.6 KiB
Plaintext
Raw Normal View History

# Template file for 'xbps'
pkgname=xbps
2013-04-19 10:39:31 +02:00
version=0.23
revision=1
2010-06-03 10:09:37 +02:00
build_style=configure
2012-11-26 10:27:24 +01:00
configure_args="--prefix=/ --exec-prefix=/usr --sbindir=/usr/sbin
--enable-static --enable-debug --enable-tests"
hostmakedepends="which pkg-config"
makedepends="zlib-devel proplib-devel>=0.6.3 openssl-devel
libfetch-devel libarchive-devel>=3.1.2 confuse-devel atf-devel"
short_desc="The XBPS package system utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-05-27 09:55:30 +02:00
homepage="http://code.google.com/p/xbps"
2011-07-15 15:57:36 +02:00
license="Simplified BSD"
2012-06-20 10:41:07 +02:00
distfiles="http://xbps.googlecode.com/files/xbps-$version.tar.gz"
2013-04-19 10:39:31 +02:00
checksum=29b3b391978f0d1f83c52b6bcb8aa094b15ea98003a9feaa08101776daaf9533
libxbps_package() {
short_desc="${short_desc} - runtime library"
replaces="xbps<0.16.3_2 libxbps>=0"
pkg_install() {
vmove "usr/lib/*.so*"
}
}
libxbps-devel_package() {
short_desc="${short_desc} - runtime library (development files)"
depends="zlib-devel proplib-devel confuse-devel libfetch-devel
libarchive-devel libxbps>=${version}"
replaces="xbps-static<0.16.3_2 libxbps-devel>=0"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
}
}
xbps-static_package() {
depends="xbps-triggers"
short_desc="${short_desc} - static binaries"
replaces="xbps-static>=0"
pkg_install() {
vmove "usr/sbin/*.static"
}
}
xbps-tests_package() {
short_desc="${short_desc} - Kyua testsuite"
replaces="xbps<0.16.3_2 xbps-tests>=0"
pkg_install() {
vmove usr/tests
}
}
xbps_package() {
depends="xbps-triggers"
conf_files="/etc/xbps/xbps.conf"
replaces="xbps>=0"
pkg_install() {
2013-04-19 10:39:31 +02:00
vmove all
}
}