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

26 lines
605 B
Text
Raw Normal View History

2011-10-15 09:47:16 +00:00
# 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
2011-10-15 09:47:16 +00:00
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 .
2011-10-15 09:47:16 +00:00
}