Added xbps-devel build template.

This package will provide xbps utils from development branch
available from launchpad.net/xbps.

--HG--
extra : convert_revision : 732e17d2f5a43a464538967104f99899d93484a2
This commit is contained in:
Juan RP 2009-11-07 12:13:39 +01:00
parent a0a59cfc99
commit e988b01afd
1 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,36 @@
# Template file for 'xbps'
pkgname=xbps-devel
version="$(date +%Y%m%d)"
build_style=custom-install
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"
replaces="xbps"
nofetch=yes
noextract=yes
Add_dependency full glibc
Add_dependency full libarchive
Add_dependency full proplib
Add_dependency full openssl
Add_dependency build bzr
Add_dependency build asciidoc
do_fetch()
{
msg_normal "Fetching source from launchpad:xbps head branch..."
bzr branch lp:xbps ${pkgname}-${version} || return 1
}
do_install()
{
cd ${wrksrc} || return 1
make DESTDIR=${DESTDIR} PREFIX= install clean || return 1
make DESTDIR=${DESTDIR} PREFIX= STATIC=1 install clean || return 1
mkdir -p ${DESTDIR}/usr || return 1
mv ${DESTDIR}/share ${DESTDIR}/usr || return 1
}