xbps-devel: uses build_style=gnu_makefile again.

--HG--
extra : convert_revision : 278216db01bf6f98a35f23de0e2dfc406c1e634f
This commit is contained in:
Juan RP 2009-11-19 07:19:34 +01:00
parent d820df1d2b
commit 4f933e616c

View File

@ -1,7 +1,9 @@
# Template file for 'xbps'
pkgname=xbps-devel
version="$(date +%Y%m%d)"
build_style=custom-install
build_style=gnu_makefile
make_build_args="DESTDIR=$XBPS_DESTDIR/$pkgname-$version PREFIX="
make_install_args="DESTDIR=$XBPS_DESTDIR/$pkgname-$version PREFIX="
short_desc="The XBPS package system (development branch)"
maintainer="Juan RP <xtraeme@gmail.com>"
long_desc="
@ -26,11 +28,8 @@ do_fetch()
bzr branch lp:xbps ${pkgname}-${version} || return 1
}
do_install()
post_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
}