2009-08-18 14:30:52 +00:00
|
|
|
# Template file for 'xbps'
|
|
|
|
pkgname=xbps
|
2013-05-02 10:23:39 +00:00
|
|
|
version=0.24
|
2013-05-27 12:00:24 +00:00
|
|
|
revision=4
|
2010-06-03 08:09:37 +00:00
|
|
|
build_style=configure
|
2012-11-26 09:27:24 +00:00
|
|
|
configure_args="--prefix=/ --exec-prefix=/usr --sbindir=/usr/sbin
|
2013-02-26 15:50:57 +00:00
|
|
|
--enable-static --enable-debug --enable-tests"
|
2013-03-24 09:21:58 +00:00
|
|
|
hostmakedepends="which pkg-config"
|
2013-04-07 08:16:48 +00:00
|
|
|
makedepends="zlib-devel proplib-devel>=0.6.3 openssl-devel
|
2013-02-26 15:50:57 +00:00
|
|
|
libfetch-devel libarchive-devel>=3.1.2 confuse-devel atf-devel"
|
2009-12-12 10:58:50 +00:00
|
|
|
short_desc="The XBPS package system utilities"
|
2009-08-18 14:30:52 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-05-27 07:55:30 +00:00
|
|
|
homepage="http://code.google.com/p/xbps"
|
2011-07-15 13:57:36 +00:00
|
|
|
license="Simplified BSD"
|
2012-06-20 08:41:07 +00:00
|
|
|
distfiles="http://xbps.googlecode.com/files/xbps-$version.tar.gz"
|
2013-05-02 10:23:39 +00:00
|
|
|
checksum=95618f7bb728a6a1506a1f1af9d470db237c59b118d0aff4bc6985150b52e4c1
|
2013-04-14 16:42:25 +00:00
|
|
|
|
|
|
|
libxbps_package() {
|
2013-05-15 13:53:54 +00:00
|
|
|
short_desc+=" - runtime library"
|
2013-04-14 16:42:25 +00:00
|
|
|
replaces="xbps<0.16.3_2 libxbps>=0"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libxbps-devel_package() {
|
2013-05-15 13:53:54 +00:00
|
|
|
short_desc+=" - runtime library (development files)"
|
2013-04-14 16:42:25 +00:00
|
|
|
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"
|
2013-05-15 13:53:54 +00:00
|
|
|
short_desc+=" - static binaries"
|
2013-04-14 16:42:25 +00:00
|
|
|
replaces="xbps-static>=0"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/sbin/*.static"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
xbps-tests_package() {
|
2013-05-15 13:53:54 +00:00
|
|
|
short_desc+=" - Kyua testsuite"
|
2013-04-14 16:42:25 +00:00
|
|
|
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 08:39:31 +00:00
|
|
|
vmove all
|
2013-04-14 16:42:25 +00:00
|
|
|
}
|
|
|
|
}
|