void-packages/srcpkgs/vmklive/template

30 lines
756 B
Text
Raw Normal View History

2011-07-16 23:23:00 +00:00
# Template file for 'vmklive'
pkgname=vmklive
version=0.8.5
2011-07-16 23:23:00 +00:00
short_desc="Void GNU/Linux live image maker"
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,
with xbps binary packages."
replaces="xbps-mklive>=0 vanilla-mklive>=0"
noextract=yes
noarch=yes
Add_dependency full initramfs-tools
Add_dependency full xbps-casper ">=0.25.1.236" # autoinstaller support.
2011-07-16 23:23:00 +00:00
Add_dependency full cdrtools
Add_dependency full squashfs-tools
Add_dependency full syslinux
do_build() {
2011-07-16 23:23:00 +00:00
sed "s|@@MKLIVE_VERSION@@|${version}|g" \
${FILESDIR}/mklive.sh.in > ${pkgname}.sh
}
do_install() {
vinstall ${pkgname}.sh 755 usr/sbin vmklive
2011-07-16 23:23:00 +00:00
}