wok-next view libnsgif/receipt @ rev 19868

Up netsurf stuff, lxpanel, slitaz-next...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Sep 27 17:54:12 2017 +0300 (2017-09-27)
parents b269c5c2be2d
children c4e53a39395a
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libnsgif"
4 COMMIT=""
5 VERSION="0.1.4"
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/"
11 HOST_ARCH="i486 arm"
13 TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2"
14 BASE_URL="http://source.netsurf-browser.org/$PACKAGE.git/snapshot"
15 if [ -n "$COMMIT" ]; then
16 WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2"
17 else
18 WGET_URL="$BASE_URL/release/$VERSION.tar.bz2"
19 fi
21 BUILD_DEPENDS="netsurf-buildsystem"
22 SPLIT="libnsgif-dev"
24 compile_rules() {
25 [ -z "$COMMIT" ] && cd $VERSION
27 export CFLAGS="$CFLAGS -fno-strict-aliasing"
29 make \
30 PREFIX=/usr \
31 LIBDIR=lib \
32 INCLUDEDIR=include \
33 COMPONENT_TYPE=lib-shared \
34 install
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 libnsgif) copy @std;;
40 *-dev) copy @dev;;
41 esac
42 }