void-packages/srcpkgs/libjpeg-turbo/libjpeg-turbo-tools.template

26 lines
579 B
Text
Raw Normal View History

2011-10-15 09:47:16 +00:00
# Template file for 'libjpeg-turbo-tools'.
#
short_desc="${sourcepkg} - bundled tools"
long_desc="${long_desc}
This package contains tools to manipulate JPG files."
Add_dependency run glibc
Add_dependency run libjpeg-turbo ">=${version}"
provides="jpeg-tools-8"
replaces="jpeg-tools>=0"
revision=2
2011-10-15 09:47:16 +00:00
do_install()
{
vmove usr/bin usr
vmove usr/share/man usr/share
vinstall ${FILESDIR}/${pkgname}.virtualpkgd \
644 etc/xbps/virtualpkg.d ${pkgname}
vmkdir etc/xbps/virtualpkg.d.wants
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
ln -sf ../virtualpkg.d/${pkgname} .
2011-10-15 09:47:16 +00:00
}