vp-build/srcpkgs/xbps-devel/template
Juan RP 13237ad742 xbps-devel: not -j >= 4 safe so set disable_parallel_build.
--HG--
extra : convert_revision : 154bceaeae75d2c5331345ed56eaa67934187274
2010-01-18 17:47:33 +01:00

42 lines
1.0 KiB
Plaintext

# 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"
disable_parallel_build=yes
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
}