void-packages/srcpkgs/xbps-devel/template
Juan RP 2612230774 xbps-devel: move headers into -static subpkg.
--HG--
extra : convert_revision : fb3efd1d5e432a2c8c8aa184a659b5a36a7aff5e
2010-01-13 19:41:47 +01:00

39 lines
1 KiB
Text

# Template file for 'xbps'
pkgname=xbps-devel
version="$(date +%Y%m%d)"
build_style=gnu_makefile
make_build_args="PREFIX="
make_install_args="PREFIX="
short_desc="The XBPS package system (development branch)"
maintainer="Juan RP <xtraeme@gmail.com>"
long_desc="
The XBPS package system. A new, fast, from scratch and simple
binary package manager. This packages includes code from a development
branch available from https://launchpad.net/xbps"
subpackages="$pkgname-static"
replaces="xbps"
nofetch=yes
noextract=yes
Add_dependency run glibc
Add_dependency run libarchive
Add_dependency run proplib
Add_dependency run openssl
Add_dependency build bzr
Add_dependency build asciidoc
Add_dependency build libarchive-devel
Add_dependency build proplib-devel
Add_dependency build openssl-devel
do_fetch()
{
msg_normal "Fetching source from launchpad:xbps head branch..."
bzr branch lp:xbps ${pkgname}-${version} || return 1
}
post_install()
{
mkdir -p ${DESTDIR}/usr || return 1
mv ${DESTDIR}/share ${DESTDIR}/usr || return 1
}