void-packages/srcpkgs/libjpeg-turbo/template

36 lines
1.2 KiB
Text
Raw Normal View History

2011-10-15 09:47:16 +00:00
# Template build file for 'libjpeg-turbo'.
pkgname=libjpeg-turbo
2012-02-12 07:19:01 +00:00
version=1.2.0
2011-10-15 09:47:16 +00:00
homepage="http://libjpeg-turbo.virtualgl.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
build_style=gnu-configure
2011-10-15 09:47:16 +00:00
configure_args="--with-jpeg8"
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"
checksum=629db2a9b1295a1b0e5fa8dddda36c5da61a90536bef8295e0b209cbcd50f98e
2011-10-15 09:47:16 +00:00
long_desc="
$pkgname is a derivative of libjpeg which uses SIMD instructions
MMX, SSE2, etc. to accelerate baseline JPEG compression and decompression
on x86, x86-64, and other supported systems. On such systems, $pkgname is
generally 2-4x as fast as the unmodified version of libjpeg, all else being
equal."
build_requires=11
2011-10-15 09:47:16 +00:00
provides="jpeg-8"
replaces="jpeg>=0"
subpackages="${pkgname}-devel ${pkgname}-tools"
Add_dependency build nasm
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
rm -f ${DESTDIR}/usr/lib/libturbojpeg*
rm -f ${DESTDIR}/usr/include/turbojpeg.h
}