mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
pngquant, don't build/install static library, cleanup (#8248)
This commit is contained in:
@@ -8,7 +8,7 @@ modern web browsers, and have better fallback in IE6 than 24-bit PNGs."
|
|||||||
HOMEPAGE="https://pngquant.org/"
|
HOMEPAGE="https://pngquant.org/"
|
||||||
COPYRIGHT="2009-2016 by Kornel Lesiński"
|
COPYRIGHT="2009-2016 by Kornel Lesiński"
|
||||||
LICENSE="GNU GPL v3"
|
LICENSE="GNU GPL v3"
|
||||||
REVISION="3"
|
REVISION="4"
|
||||||
SOURCE_URI="https://github.com/pornel/pngquant/archive/$portVersion.tar.gz"
|
SOURCE_URI="https://github.com/pornel/pngquant/archive/$portVersion.tar.gz"
|
||||||
CHECKSUM_SHA256="071e1af157ed2044d68522f4a18c5d94c5b6cbd83827a08e1bdf0ec0649f9cc9"
|
CHECKSUM_SHA256="071e1af157ed2044d68522f4a18c5d94c5b6cbd83827a08e1bdf0ec0649f9cc9"
|
||||||
|
|
||||||
@@ -50,15 +50,16 @@ BUILD_PREREQUIRES="
|
|||||||
|
|
||||||
BUILD()
|
BUILD()
|
||||||
{
|
{
|
||||||
runConfigure ./configure
|
./configure
|
||||||
make staticlib sharedlib bin.shared
|
make sharedlib bin.shared
|
||||||
}
|
}
|
||||||
|
|
||||||
INSTALL()
|
INSTALL()
|
||||||
{
|
{
|
||||||
make install MANPREFIX=$manDir
|
make install BINPREFIX=$prefix/bin MANPREFIX=$manDir
|
||||||
install -d -m 755 $libDir $includeDir
|
install -d -m 755 $libDir $includeDir
|
||||||
install -t $libDir lib/libimagequant.{a,so.0}
|
install -t $libDir lib/libimagequant.so.0
|
||||||
|
ln -sr $libDir/libimagequant.so.0 $libDir/libimagequant.so
|
||||||
install -t $includeDir lib/libimagequant.h
|
install -t $includeDir lib/libimagequant.h
|
||||||
|
|
||||||
prepareInstalledDevelLib libimagequant
|
prepareInstalledDevelLib libimagequant
|
||||||
|
|||||||
Reference in New Issue
Block a user