void-packages/srcpkgs/xbps-mklive/template
Juan RP b27c65882e xbps-mklive: multiple fixes and improvements.
Some flags were added to specify rootdir, splash image, compression type.
2011-05-04 13:44:53 +02:00

28 lines
716 B
Text

# Template file for 'xbps-mklive'
pkgname=xbps-mklive
version=0.3.6
build_style=custom-install
short_desc="XBPS Live image maker"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=b31983b27630b3ef99f68bd8382851a7963542c944b625bdbfd2f2ff301a02d3
long_desc="
$pkgname is a simple shell script to build a bootable live image,
with xbps binary packages."
noextract=yes
noarch=yes
Add_dependency full cdrtools
Add_dependency full squashfs-tools
Add_dependency full syslinux
Add_dependency full initramfs-tools
do_build()
{
sed "s|@@MKLIVE_VERSION@@|${version}|g" \
${FILESDIR}/${pkgname}.sh.in > ${wrksrc}/${pkgname}.sh
}
do_install()
{
install -D -m755 ${wrksrc}/${pkgname}.sh ${DESTDIR}/usr/sbin/xbps-mklive
}