mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
libraries/libicns: Updated for version 0.8.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
48204b8b3f
commit
6e375cceef
4 changed files with 13 additions and 17 deletions
|
@ -1,5 +1,5 @@
|
|||
libicns (library for manipulating MacOS X .icns icon format)
|
||||
|
||||
libicns currently provides support for reading and writing icns files
|
||||
in most sizes. Also provides two utilities for manipulating files in
|
||||
the .icns format: icns2png icontainer2icns
|
||||
in most sizes. Also provides some utilities for manipulating files in
|
||||
the .icns format: icns2png icontainer2icns png2icns
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
# Slackware build script for icns
|
||||
# Slackware build script for libicns
|
||||
|
||||
# Written by B. Watson (yalhcru@gmail.com)
|
||||
|
||||
# Licensed under the WTFPL. See http://sam.zoy.org/wtfpl/ for details.
|
||||
|
||||
PRGNAM=libicns
|
||||
VERSION=${VERSION:-0.7.1}
|
||||
VERSION=${VERSION:-0.8.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -51,11 +53,6 @@ find . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# PNG hack needed because libpng renamed an API function in version 1.4.
|
||||
# Comment this out if you're building on an old release of Slackware that
|
||||
# still uses libpng-1.2. See http://libpng.sourceforge.net/ANNOUNCE-1.4.0.txt
|
||||
PNGHACK="-Dpng_set_gray_1_2_4_to_8=png_set_expand_gray_1_2_4_to_8"
|
||||
|
||||
CFLAGS="$SLKCFLAGS $PNGHACK" \
|
||||
CXXFLAGS="$SLKCFLAGS $PNGHACK" \
|
||||
./configure \
|
||||
|
@ -74,10 +71,9 @@ make install-strip DESTDIR=$PKG
|
|||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
|
||||
# NEWS is a 0-byte file in 0.71, don't bother
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
AUTHORS COPYING ChangeLog DEVNOTES INSTALL README TODO \
|
||||
AUTHORS COPYING* ChangeLog DEVNOTES NEWS README TODO \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="libicns"
|
||||
VERSION="0.7.1"
|
||||
VERSION="0.8.1"
|
||||
HOMEPAGE="http://sourceforge.net/projects/icns/"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/icns/libicns-0.7.1.tar.gz"
|
||||
MD5SUM="ff4624353a074c6cb51e41d145070e10"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/icns/libicns-0.8.1.tar.gz"
|
||||
MD5SUM="7a9b74b84ce08c5b11bdee3cad296dd3"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
libicns: libicns (library for manipulating MacOS X .icns icon format)
|
||||
libicns:
|
||||
libicns: libicns currently provides support for reading and writing icns files
|
||||
libicns: in most sizes. Also provides two utilities for manipulating files in
|
||||
libicns: the .icns format: icns2png icontainer2icns
|
||||
libicns: in most sizes. Also provides some utilities for manipulating files
|
||||
libicns: in the .icns format: icns2png icontainer2icns png2icns
|
||||
libicns:
|
||||
libicns:
|
||||
libicns:
|
||||
|
|
Loading…
Reference in a new issue