wok-next view libnsgif/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | c4e53a39395a |
children | 8b5b2a6d07b8 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libnsgif"
4 COMMIT=""
5 VERSION="0.2.0"
6 CATEGORY="libs"
7 SHORT_DESC="Decoding library for the GIF image file format"
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="http://www.netsurf-browser.org/projects/libnsgif/"
12 TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2"
13 BASE_URL="http://source.netsurf-browser.org/$PACKAGE.git/snapshot"
14 if [ -n "$COMMIT" ]; then
15 WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2"
16 else
17 WGET_URL="$BASE_URL/release/$VERSION.tar.bz2"
18 fi
20 BUILD_DEPENDS="netsurf-buildsystem"
21 SPLIT="libnsgif-dev"
23 compile_rules() {
24 [ -z "$COMMIT" ] && cd $VERSION
26 export CFLAGS="$CFLAGS -fno-strict-aliasing"
28 make \
29 PREFIX=/usr \
30 LIBDIR=lib \
31 INCLUDEDIR=include \
32 COMPONENT_TYPE=lib-shared \
33 install
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 libnsgif) copy @std;;
39 *-dev) copy @dev;;
40 esac
41 TAGS="netsurf"
42 }