wok-next view libnsbmp/receipt @ rev 20969

Micro-updates + { new clang + assaultcube (still broken)} + {new python modules from SliTaz Cooking + their depends}
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Sep 14 01:56:52 2018 +0300 (2018-09-14)
parents b19ddba309f9
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libnsbmp"
4 COMMIT=""
5 VERSION="0.1.5"
6 CATEGORY="libs"
7 SHORT_DESC="Decoding library for BMP and ICO image file formats"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="MIT"
10 WEB_SITE="http://www.netsurf-browser.org/projects/libnsbmp/"
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="libnsbmp-dev"
23 compile_rules() {
24 [ -z "$COMMIT" ] && cd $VERSION
26 make \
27 PREFIX=/usr \
28 LIBDIR=lib \
29 INCLUDEDIR=include \
30 COMPONENT_TYPE=lib-shared \
31 install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 libnsbmp) copy @std;;
37 *-dev) copy @dev;;
38 esac
39 TAGS="netsurf"
40 }