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