libjpeg-turbo: also provide libturbojpeg shlib.

This commit is contained in:
Juan RP 2013-06-17 16:41:33 +02:00
parent d62e175369
commit 281abe38dd

View File

@ -1,7 +1,7 @@
# Template build file for 'libjpeg-turbo'. # Template build file for 'libjpeg-turbo'.
pkgname=libjpeg-turbo pkgname=libjpeg-turbo
version=1.3.0 version=1.3.0
revision=3 revision=4
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static --with-jpeg8" configure_args="--disable-static --with-jpeg8"
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
@ -21,11 +21,10 @@ post_install() {
rm -f ${DESTDIR}/usr/bin/tjbench rm -f ${DESTDIR}/usr/bin/tjbench
rm -f ${DESTDIR}/usr/bin/jpegut rm -f ${DESTDIR}/usr/bin/jpegut
rm -f ${DESTDIR}/usr/bin/jpgtest rm -f ${DESTDIR}/usr/bin/jpgtest
rm -f ${DESTDIR}/usr/lib/libturbojpeg*
} }
libjpeg-turbo-devel_package() { libjpeg-turbo-devel_package() {
depends="libjpeg-turbo>=${version}" depends="${sourcepkg}-${version}_${revision}"
provides="jpeg-devel-8" provides="jpeg-devel-8"
replaces="jpeg-devel>=0" replaces="jpeg-devel>=0"
short_desc+=" - development files" short_desc+=" - development files"