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