mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
netpbm: use SSE only where available.
This commit is contained in:
parent
e2249c1f70
commit
5477b714cf
2 changed files with 15 additions and 13 deletions
|
@ -12,4 +12,3 @@ TIFFLIB = libtiff.so
|
||||||
JPEGLIB = libjpeg.so
|
JPEGLIB = libjpeg.so
|
||||||
ZLIB = libz.so
|
ZLIB = libz.so
|
||||||
NETPBM_DOCURL = http://netpbm.sourceforge.net/doc/
|
NETPBM_DOCURL = http://netpbm.sourceforge.net/doc/
|
||||||
WANT_SSE = Y
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'netpbm'
|
# Template file for 'netpbm'
|
||||||
pkgname=netpbm
|
pkgname=netpbm
|
||||||
version=10.66.03
|
version=10.66.03
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc=advanced
|
wrksrc=advanced
|
||||||
hostmakedepends="pkg-config perl python flex"
|
hostmakedepends="pkg-config perl python flex"
|
||||||
makedepends="libjpeg-turbo-devel tiff-devel libpng-devel zlib-devel libxml2-devel libX11-devel"
|
makedepends="libjpeg-turbo-devel tiff-devel libpng-devel zlib-devel libxml2-devel libX11-devel"
|
||||||
|
@ -16,6 +16,9 @@ checksum="705551823155dcfebdb6b914447769a62eefd7157efd1dae925b36fb7cc647b1
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
cat config.mk.in ${FILESDIR}/config.mk >config.mk
|
cat config.mk.in ${FILESDIR}/config.mk >config.mk
|
||||||
|
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||||
|
echo "WANT_SSE = Y" >>config.mk
|
||||||
|
fi
|
||||||
sed -i 's|/link|/lib|' lib/Makefile
|
sed -i 's|/link|/lib|' lib/Makefile
|
||||||
sed -i 's|install.manwebmain install.manweb install.man|install.man|' GNUmakefile
|
sed -i 's|install.manwebmain install.manweb install.man|install.man|' GNUmakefile
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue