2011-10-15 11:47:16 +02:00
|
|
|
# Template build file for 'libjpeg-turbo'.
|
|
|
|
pkgname=libjpeg-turbo
|
2015-01-09 11:08:01 +01:00
|
|
|
version=1.4.0
|
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2014-02-12 14:15:36 +01:00
|
|
|
hostmakedepends="nasm"
|
2013-01-08 21:58:23 +01:00
|
|
|
configure_args="--disable-static --with-jpeg8"
|
2014-03-09 10:09:19 +01:00
|
|
|
provides="jpeg-8_1"
|
2014-01-01 16:10:11 +01:00
|
|
|
replaces="jpeg>=0"
|
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"
|
2015-01-09 11:08:01 +01:00
|
|
|
checksum=d93ad8546b510244f863b39b4c0da0fa4c0d53a77b61a8a3880f258c232bbbee
|
2014-04-14 13:12:15 +02:00
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make DESTDIR=${DESTDIR} docdir=/usr/share/doc/${pkgname} \
|
|
|
|
exampledir=/usr/share/doc/${pkgname} install
|
2011-10-15 11:47:16 +02:00
|
|
|
|
|
|
|
vinstall jpegint.h 644 usr/include
|
2015-01-09 11:08:01 +01:00
|
|
|
vlicense README-turbo.txt LICENSE
|
2011-10-15 11:47:16 +02:00
|
|
|
|
2014-10-10 08:13:19 +02:00
|
|
|
rm -r ${DESTDIR}/usr/share/doc
|
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
|
|
|
|
}
|
2013-04-12 19:13:19 +02:00
|
|
|
|
|
|
|
libjpeg-turbo-devel_package() {
|
2013-06-17 16:41:33 +02:00
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
2014-03-09 10:09:19 +01:00
|
|
|
provides="jpeg-devel-8_1"
|
2013-04-12 19:13:19 +02:00
|
|
|
replaces="jpeg-devel>=0"
|
2013-05-26 20:26:49 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 19:13:19 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2013-06-17 16:38:30 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 19:13:19 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
libjpeg-turbo-tools_package() {
|
2014-03-14 08:36:05 +01:00
|
|
|
provides="jpeg-tools-8_1"
|
2013-04-12 19:13:19 +02:00
|
|
|
replaces="jpeg-tools>=0"
|
2013-05-26 20:26:49 +02:00
|
|
|
short_desc+=" - bundled tools"
|
2013-04-12 19:13:19 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/share/man
|
|
|
|
}
|
|
|
|
}
|