void-packages/templates/mkinitcpio.tmpl
Juan RP 0f511d0aa4 mkinitcpio: fix installation.
--HG--
extra : convert_revision : 9df7a126ce61560d0acd63461a27678d3d7af70c
2008-11-26 02:37:55 +01:00

25 lines
835 B
Cheetah

# Template file for 'mkinitcpio'
pkgname=mkinitcpio
version=0.5.9
wrksrc=$pkgname
distfiles="ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$version.tar.gz"
build_style=custom-install
short_desc="Advanced, modular initramfs image creation utility"
maintainer="Juan RP <xtraemegmail.com>"
checksum=772e3d92bfa1754b74a95c76a4f66bb6f94915212da2e7e7878764676ef8467c
long_desc="
mkinitcpio is an advanced, modular initramfs image creation utility.
mkinitcpio was created for Archlinux."
# Other deps are resolved by xbps-base-chroot.
build_depends="klibc-1.5.14"
do_install()
{
# mkinitcpio doesn't work with dash, uses bash specific stuff
# even if the file mentions justs the contrary...
. $XBPS_HELPERSDIR/replace-interpreter.sh
replace_interpreter bash mkinitcpio
cd $wrksrc && ./install.sh $XBPS_DESTDIR/$pkgname-$version
}