void-packages/srcpkgs/libjpeg-turbo/template

54 lines
1.3 KiB
Plaintext
Raw Normal View History

2011-10-15 11:47:16 +02:00
# Template build file for 'libjpeg-turbo'.
pkgname=libjpeg-turbo
2013-05-26 20:26:49 +02:00
version=1.3.0
revision=4
build_style=gnu-configure
2013-01-08 21:58:23 +01:00
configure_args="--disable-static --with-jpeg8"
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
hostmakedepends="nasm"
2013-03-20 08:03:42 +01:00
fi
2011-10-15 11:47:16 +02:00
short_desc="Derivative of libjpeg which uses SIMD instructions"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-02-12 08:19:01 +01:00
license="BSD"
2012-07-04 09:31:37 +02:00
homepage="http://libjpeg-turbo.virtualgl.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
2013-05-26 20:26:49 +02:00
checksum=2657008cfc08aadbaca065bd9f8964b8a2c0abd03e73da5b5f09c1216be31234
2011-10-15 11:47:16 +02:00
post_install() {
vinstall jpegint.h 644 usr/include
2012-02-12 08:19:01 +01:00
vinstall README-turbo.txt 644 usr/share/licenses/${pkgname}
2011-10-15 11:47:16 +02:00
2012-02-12 08:19:01 +01:00
rm -f ${DESTDIR}/usr/bin/tjbench
2011-10-15 11:47:16 +02:00
rm -f ${DESTDIR}/usr/bin/jpegut
rm -f ${DESTDIR}/usr/bin/jpgtest
}
libjpeg-turbo-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
provides="jpeg-devel-8"
replaces="jpeg-devel>=0"
2013-05-26 20:26:49 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}
libjpeg-turbo-tools_package() {
provides="jpeg-tools-8"
replaces="jpeg-tools>=0"
2013-05-26 20:26:49 +02:00
short_desc+=" - bundled tools"
pkg_install() {
vmove usr/bin
vmove usr/share/man
}
}
libjpeg-turbo_package() {
provides="jpeg-8"
replaces="jpeg>=0"
pkg_install() {
2013-05-26 20:26:49 +02:00
vmove all
}
}