wok-6.x annotate giflib/receipt @ rev 23390
updated perl-spreadsheet-writeexcel (2.25 -> 2.40)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 16:41:39 2020 +0100 (2020-03-31) |
parents | 04df91c8ca0b |
children | 932cd974e081 |
rev | line source |
---|---|
rcx@3183 | 1 # SliTaz package receipt. |
rcx@3183 | 2 |
rcx@3183 | 3 PACKAGE="giflib" |
pascal@22358 | 4 VERSION="5.2.1" |
rcx@3184 | 5 CATEGORY="graphics" |
rcx@3183 | 6 SHORT_DESC="A library for processing GIFs." |
rcx@3183 | 7 MAINTAINER="rcx@zoominternet.net" |
pascal@15600 | 8 LICENSE="MIT" |
pascal@22358 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20421 | 10 WEB_SITE="https://sourceforge.net/projects/giflib/" |
pascal@15600 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@16067 | 12 HOST_ARCH="i486 arm" |
pascal@15600 | 13 |
jozee@5110 | 14 DEPENDS="glibc-base xorg-libSM xorg-libICE xorg-libX11 xorg-libXau \ |
pascal@5001 | 15 xorg-libXdmcp" |
pascal@12662 | 16 BUILD_DEPENDS="util-linux-uuid-dev libtool" |
rcx@3183 | 17 |
rcx@3183 | 18 # Rules to configure and make the package. |
rcx@3183 | 19 compile_rules() |
rcx@3183 | 20 { |
pascal@23056 | 21 patch -p0 < $stuff/restore-GifQuantizeBuffer.u |
pascal@22358 | 22 sed -i 's|/local||' Makefile |
slaxemulator@11721 | 23 make && make DESTDIR=$DESTDIR install |
pankso@16067 | 24 case "$ARCH" in |
pankso@16067 | 25 i?86) |
pankso@16067 | 26 # libungif compatibility - instructions taken from Redhat specfile |
pankso@16067 | 27 MAJOR=`echo $VERSION | sed 's/\([0-9]\+\)\..*/\1/'` |
pankso@16067 | 28 gcc -shared -Wl,-soname,libungif.so.${MAJOR} \ |
pascal@22358 | 29 -L. -lgif -o libungif.so.$VERSION |
pankso@16067 | 30 install -m755 libungif.so.${VERSION} "$DESTDIR/usr/lib/" |
pascal@22358 | 31 ln -sf libungif.so.${VERSION%%.*} "$DESTDIR/usr/lib/libungif.so" ;; |
pankso@16067 | 32 esac |
rcx@3183 | 33 } |
rcx@3183 | 34 |
rcx@3183 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3183 | 36 genpkg_rules() |
rcx@3183 | 37 { |
rcx@3183 | 38 mkdir -p $fs/usr |
pascal@15600 | 39 cp -a $install/usr/bin $fs/usr |
rcx@3183 | 40 mkdir -p $fs/usr/lib |
pascal@15600 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
rcx@3183 | 42 } |