diff options
-rw-r--r-- | graphics/pngquant/pngquant.SlackBuild | 30 | ||||
-rw-r--r-- | graphics/pngquant/pngquant.info | 6 |
2 files changed, 20 insertions, 16 deletions
diff --git a/graphics/pngquant/pngquant.SlackBuild b/graphics/pngquant/pngquant.SlackBuild index 7222682f99a4..5905b2471706 100644 --- a/graphics/pngquant/pngquant.SlackBuild +++ b/graphics/pngquant/pngquant.SlackBuild @@ -9,21 +9,21 @@ # permitted provided that the following conditions are met: # # 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. +# notice, this list of conditions and the following disclaimer. # -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pngquant -VERSION=${VERSION:-2.1.0} +VERSION=${VERSION:-2.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -67,7 +67,11 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go-w,a+rX-st . -make CFLAGSADD="$SLKCFLAGS" +./configure \ + --prefix=/usr \ + CFLAGS="$SLKCFLAGS" + +make install -D -m0755 -s pngquant $PKG/usr/bin/pngquant install -D -m0644 lib/libimagequant.a $PKG/usr/lib${LIBDIRSUFFIX}/libimagequant.a install -D -m0644 lib/libimagequant.h $PKG/usr/include/libimagequant.h diff --git a/graphics/pngquant/pngquant.info b/graphics/pngquant/pngquant.info index fe19d67528a6..cb2a2a63aefd 100644 --- a/graphics/pngquant/pngquant.info +++ b/graphics/pngquant/pngquant.info @@ -1,8 +1,8 @@ PRGNAM="pngquant" -VERSION="2.1.0" +VERSION="2.3.0" HOMEPAGE="http://pngquant.org/" -DOWNLOAD="http://pngquant.org/pngquant-2.1.0-src.tar.bz2" -MD5SUM="92c0fccb7178d51fcc4770664da58865" +DOWNLOAD="http://pngquant.org/pngquant-2.3.0-src.tar.bz2" +MD5SUM="0ce07508367032634b0694bd9897c17f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |