OpenRC: fix branding def, bumprev.

This commit is contained in:
Juan RP 2011-01-16 17:20:05 +01:00
parent cca3d89c66
commit 3010150032

View file

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