wok-next diff libnspsl/receipt @ rev 19875
Up cookutils (973), busybox (1.27.2)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Sep 29 20:57:09 2017 +0300 (2017-09-29) |
parents | |
children | b19ddba309f9 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libnspsl/receipt Fri Sep 29 20:57:09 2017 +0300 1.3 @@ -0,0 +1,39 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="libnspsl" 1.7 +COMMIT="9724f92b7d8e54c23ca4849647763002d9019437" 1.8 +VERSION="0.1.0-170528" 1.9 +CATEGORY="libs" 1.10 +SHORT_DESC="NetSurf public suffix list handling" 1.11 +MAINTAINER="al.bobylev@gmail.com" 1.12 +LICENSE="MIT" 1.13 +WEB_SITE="http://source.netsurf-browser.org/libnspsl.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="libnspsl-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 + libnspsl) copy @std;; 1.40 + *-dev) copy @dev;; 1.41 + esac 1.42 +}