void-packages/srcpkgs/vmklive/template

30 lines
843 B
Plaintext
Raw Normal View History

2011-07-17 01:23:00 +02:00
# Template file for 'vmklive'
pkgname=vmklive
version=0.9.3
replaces="xbps-mklive>=0 vanilla-mklive>=0"
noextract=yes
noarch=yes
fulldepends="dracut>=018_2 cdrtools squashfs-tools syslinux"
revision=1
short_desc="Void Linux live image maker"
2011-07-17 01:23:00 +02:00
maintainer="Juan RP <xtraeme@gmail.com>"
license="Public domain"
homepage="http://code.google.com/p/xbps"
long_desc="
$pkgname is a simple shell script to build a bootable live image
for void linux."
2011-07-17 01:23:00 +02:00
do_build() {
2011-07-17 01:23:00 +02:00
sed "s|@@MKLIVE_VERSION@@|${version}|g" \
${FILESDIR}/mklive.sh.in > ${pkgname}.sh
}
do_install() {
vinstall ${pkgname}.sh 755 usr/sbin vmklive
# Install dracut module.
vinstall ${FILESDIR}/dracut-module.sh 755 \
usr/lib/dracut/modules.d/01vmklive module-setup.sh
vinstall ${FILESDIR}/dracut-vmklive-adduser.sh 755 \
usr/lib/dracut/modules.d/01vmklive vmklive-adduser.sh
2011-07-17 01:23:00 +02:00
}