void-packages/srcpkgs/xbps-git/template

65 lines
1.6 KiB
Text
Raw Normal View History

# Template file for 'xbps-git'
pkgname=xbps-git
2014-01-03 09:10:53 +00:00
version=20140103
revision=3
2010-05-19 20:45:31 +00:00
build_style=configure
configure_args="--prefix=/usr --sysconfdir=/etc --enable-debug --enable-static --enable-tests"
hostmakedepends="which pkg-config"
makedepends="zlib-devel openssl-devel libarchive-devel>=3.1.2 confuse-devel atf-devel"
depends="xbps-triggers libxbps-git-${version}_${revision}"
provides="xbps-${version}"
replaces="xbps>=0 xbps-devel>=0"
conf_files="/etc/xbps/xbps.conf"
short_desc="The XBPS package system (development branch)"
maintainer="Juan RP <xtraeme@gmail.com>"
2013-11-29 09:32:27 +00:00
homepage="http://www.voidlinux.eu/xbps"
2012-07-31 15:56:32 +00:00
license="Simplified BSD"
do_fetch() {
local url="git://github.com/xtraeme/xbps"
2012-07-31 15:56:32 +00:00
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
2013-02-06 17:55:36 +00:00
libxbps-git_package() {
2013-05-17 06:28:07 +00:00
short_desc+=" - runtime library"
provides="libxbps-${version}"
replaces="libxbps>=0 xbps-devel>=0"
pkg_install() {
2013-07-04 01:07:25 +00:00
vmove "usr/lib/*.so.*"
}
}
libxbps-devel-git_package() {
2013-05-17 06:28:07 +00:00
short_desc+=" - runtime library (development files)"
2013-07-04 01:07:25 +00:00
depends="zlib-devel libarchive-devel libxbps>=${version}"
provides="libxbps-devel-${version}"
replaces="libxbps-devel>=0"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
2013-07-04 01:07:25 +00:00
vmove "usr/lib/*.so"
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 06:28:07 +00:00
short_desc+=" - static binaries"
pkg_install() {
vmove "usr/sbin/*.static"
}
}
xbps-tests-git_package() {
2013-05-17 06:28:07 +00:00
short_desc+=" - Kyua testsuite"
depends="libxbps>=${version}"
provides="xbps-tests-${version}"
replaces="xbps-tests>=0"
pkg_install() {
vmove usr/tests
}
}