2012-07-06 14:59:20 +00:00
|
|
|
# Template file for 'xbps-git'
|
|
|
|
pkgname=xbps-git
|
2013-05-15 10:49:14 +00:00
|
|
|
version=20130515
|
2013-03-17 10:02:50 +00:00
|
|
|
revision=1
|
2010-05-19 20:45:31 +00:00
|
|
|
build_style=configure
|
2012-07-19 14:02:37 +00:00
|
|
|
configure_args="--prefix=/ --exec-prefix=/usr --sbindir=/usr/sbin
|
2013-02-16 13:30:06 +00:00
|
|
|
--enable-static --enable-debug --enable-tests"
|
2009-11-07 11:13:39 +00:00
|
|
|
short_desc="The XBPS package system (development branch)"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-04 15:35:13 +00:00
|
|
|
homepage="http://code.google.com/p/xbps"
|
2012-07-31 15:56:32 +00:00
|
|
|
license="Simplified BSD"
|
2009-11-07 11:13:39 +00:00
|
|
|
|
2013-02-06 17:55:36 +00:00
|
|
|
nofetch=yes
|
|
|
|
noextract=yes
|
2013-04-15 19:09:06 +00:00
|
|
|
|
2011-10-14 17:24:20 +00:00
|
|
|
do_fetch() {
|
2011-07-02 16:03:22 +00:00
|
|
|
local url="git://github.com/xtraeme/xbps"
|
2012-07-31 15:56:32 +00:00
|
|
|
msg_normal "Fetching source from $url ...\n"
|
2011-10-14 17:24:20 +00:00
|
|
|
git clone ${url} ${pkgname}-${version}
|
2009-11-07 11:13:39 +00:00
|
|
|
}
|
2013-02-06 17:55:36 +00:00
|
|
|
|
2013-03-24 09:21:58 +00:00
|
|
|
hostmakedepends="which pkg-config"
|
2013-04-07 08:05:48 +00:00
|
|
|
makedepends="zlib-devel proplib-devel openssl-devel libfetch-devel
|
2013-02-20 13:38:18 +00:00
|
|
|
libarchive-devel>=3.1.2 confuse-devel atf-devel"
|
2013-04-14 16:42:25 +00:00
|
|
|
|
|
|
|
libxbps-git_package() {
|
|
|
|
short_desc="${short_desc} - runtime library"
|
|
|
|
provides="libxbps-${version}"
|
|
|
|
replaces="libxbps>=0 xbps-devel>=0"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libxbps-devel-git_package() {
|
|
|
|
short_desc="${short_desc} - runtime library (development files)"
|
|
|
|
depends="zlib-devel proplib-devel confuse-devel libfetch-devel
|
|
|
|
libarchive-devel libxbps>=${version}"
|
|
|
|
provides="libxbps-devel-${version}"
|
|
|
|
replaces="libxbps-devel>=0"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
xbps-static-git_package() {
|
|
|
|
provides="xbps-static-${version}"
|
|
|
|
replaces="xbps-static>=0 xbps-devel-static>=0"
|
|
|
|
depends="xbps-triggers"
|
|
|
|
short_desc+=" -- static binaries"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/sbin/*.static"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
xbps-tests-git_package() {
|
|
|
|
short_desc="${short_desc} - Kyua testsuite"
|
|
|
|
depends="libxbps>=${version}"
|
|
|
|
provides="xbps-tests-${version}"
|
|
|
|
replaces="xbps-tests>=0"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/tests
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
xbps-git_package() {
|
|
|
|
provides="xbps-${version}"
|
|
|
|
replaces="xbps>=0 xbps-devel>=0"
|
|
|
|
conf_files="/etc/xbps/xbps.conf"
|
|
|
|
depends="xbps-triggers libxbps-git-${version}_${revision}"
|
|
|
|
pkg_install() {
|
2013-04-19 08:49:24 +00:00
|
|
|
vmove all
|
2013-04-14 16:42:25 +00:00
|
|
|
}
|
|
|
|
}
|