OpenRC: fix branding def, bumprev.

This commit is contained in:
Juan RP 2011-01-16 17:20:05 +01:00
parent cca3d89c66
commit 3010150032
1 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'OpenRC'
pkgname=OpenRC
version=0.6.1
revision=2
revision=4
wrksrc=openrc-${version}
distfiles="http://roy.marples.name/downloads/openrc/openrc-$version.tar.bz2"
build_style=custom-install
@ -29,6 +29,8 @@ Add_dependency full psmisc
Add_dependency full sysvinit
Add_dependency build diffutils
_branding="XBPS GNU/Linux"
do_build()
{
# Use cmp(1) from diffutils.
@ -42,12 +44,12 @@ do_build()
sed -i -e "s|/usr/share|/lib/kbd|g" ${wrksrc}/${f}
done
make ${makejobs} BRANDING="XBPS GNU/Linux"
make ${makejobs} BRANDING="${_branding}"
}
do_install()
{
make DESTDIR=${DESTDIR} install
make DESTDIR=${DESTDIR} BRANDING="${_branding}" install
install -D -m755 ${wrksrc}/support/sysvinit/inittab \
${DESTDIR}/etc/inittab