wok-next annotate libnsgif/receipt @ rev 20153
syslinux: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 15:14:00 2017 +0100 (2017-11-01) |
parents | b269c5c2be2d |
children | c4e53a39395a |
rev | line source |
---|---|
al@19868 | 1 # SliTaz package receipt v2. |
pankso@2826 | 2 |
pankso@2826 | 3 PACKAGE="libnsgif" |
al@19868 | 4 COMMIT="" |
al@19868 | 5 VERSION="0.1.4" |
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@16251 | 11 HOST_ARCH="i486 arm" |
pankso@9773 | 12 |
al@19868 | 13 TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2" |
al@19868 | 14 BASE_URL="http://source.netsurf-browser.org/$PACKAGE.git/snapshot" |
al@19868 | 15 if [ -n "$COMMIT" ]; then |
al@19868 | 16 WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2" |
al@19868 | 17 else |
al@19868 | 18 WGET_URL="$BASE_URL/release/$VERSION.tar.bz2" |
al@19868 | 19 fi |
al@19868 | 20 |
al@19868 | 21 BUILD_DEPENDS="netsurf-buildsystem" |
al@19868 | 22 SPLIT="libnsgif-dev" |
al@19868 | 23 |
al@19868 | 24 compile_rules() { |
al@19868 | 25 [ -z "$COMMIT" ] && cd $VERSION |
al@19868 | 26 |
al@19868 | 27 export CFLAGS="$CFLAGS -fno-strict-aliasing" |
al@19868 | 28 |
al@19868 | 29 make \ |
al@19868 | 30 PREFIX=/usr \ |
al@19868 | 31 LIBDIR=lib \ |
al@19868 | 32 INCLUDEDIR=include \ |
al@19868 | 33 COMPONENT_TYPE=lib-shared \ |
al@19868 | 34 install |
pankso@2826 | 35 } |
pankso@4197 | 36 |
al@19868 | 37 genpkg_rules() { |
al@19868 | 38 case $PACKAGE in |
al@19868 | 39 libnsgif) copy @std;; |
al@19868 | 40 *-dev) copy @dev;; |
al@19868 | 41 esac |
pankso@2826 | 42 } |