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