void-packages/srcpkgs/libjpeg-turbo/libjpeg-turbo-devel.template
2011-10-20 18:03:55 +02:00

25 lines
605 B
Text

# Template file for 'libjpeg-turbo-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run glibc-devel
Add_dependency run libjpeg-turbo
provides="jpeg-devel-8"
replaces="jpeg-devel>=0"
revision=3
do_install()
{
vmove usr/include usr
vmove "usr/lib/*.a" usr/lib
vinstall ${FILESDIR}/${pkgname}.virtualpkgd \
644 etc/xbps/virtualpkg.d ${pkgname}.plist
vmkdir etc/xbps/virtualpkg.d.wants
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
ln -sf ../virtualpkg.d/${pkgname}.plist .
}