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