wok-next diff libnsutils/receipt @ rev 20206
Up PyQt-x11-gpl (4.12.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 04 09:19:58 2017 +0100 (2017-11-04) |
parents | |
children | b19ddba309f9 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libnsutils/receipt Sat Nov 04 09:19:58 2017 +0100 1.3 @@ -0,0 +1,39 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="libnsutils" 1.7 +COMMIT="" 1.8 +VERSION="0.0.3" 1.9 +CATEGORY="utilities" 1.10 +SHORT_DESC="NetSurf Utilities" 1.11 +MAINTAINER="al.bobylev@gmail.com" 1.12 +LICENSE="MIT" 1.13 +WEB_SITE="http://source.netsurf-browser.org/libnsutils.git/" 1.14 + 1.15 +TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2" 1.16 +BASE_URL="http://source.netsurf-browser.org/$PACKAGE.git/snapshot" 1.17 +if [ -n "$COMMIT" ]; then 1.18 + WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2" 1.19 +else 1.20 + WGET_URL="$BASE_URL/release/$VERSION.tar.bz2" 1.21 +fi 1.22 + 1.23 +BUILD_DEPENDS="netsurf-buildsystem" 1.24 +SPLIT="libnsutils-dev" 1.25 + 1.26 +compile_rules() { 1.27 + [ -z "$COMMIT" ] && cd $VERSION 1.28 + 1.29 + make \ 1.30 + PREFIX=/usr \ 1.31 + LIBDIR=lib \ 1.32 + INCLUDEDIR=include \ 1.33 + COMPONENT_TYPE=lib-shared \ 1.34 + install 1.35 +} 1.36 + 1.37 +genpkg_rules() { 1.38 + case $PACKAGE in 1.39 + libnsutils) copy @std;; 1.40 + *-dev) copy @dev;; 1.41 + esac 1.42 +}