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"
|
|
|
|
|
2011-10-20 16:03:55 +00:00
|
|
|
revision=3
|
2011-10-20 15:19:55 +00:00
|
|
|
|
2011-10-15 09:47:16 +00:00
|
|
|
do_install()
|
|
|
|
{
|
2011-10-20 15:19:55 +00:00
|
|
|
vmove usr/include usr
|
|
|
|
vmove "usr/lib/*.a" usr/lib
|
|
|
|
vinstall ${FILESDIR}/${pkgname}.virtualpkgd \
|
2011-10-20 16:03:55 +00:00
|
|
|
644 etc/xbps/virtualpkg.d ${pkgname}.plist
|
2011-10-20 15:41:27 +00:00
|
|
|
vmkdir etc/xbps/virtualpkg.d.wants
|
|
|
|
cd ${DESTDIR}/etc/xbps/virtualpkg.d.wants && \
|
2011-10-20 16:03:55 +00:00
|
|
|
ln -sf ../virtualpkg.d/${pkgname}.plist .
|
2011-10-15 09:47:16 +00:00
|
|
|
}
|