wok-next diff libutf8proc/receipt @ rev 20259
xsave: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 07 18:34:13 2017 +0100 (2017-11-07) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libutf8proc/receipt Tue Nov 07 18:34:13 2017 +0100 1.3 @@ -0,0 +1,39 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="libutf8proc" 1.7 +COMMIT="770e329cceaf0620c7b482589a9b17ed1d19c16d" 1.8 +VERSION="1.3.1-2-161123" 1.9 +CATEGORY="libs" 1.10 +SHORT_DESC="C library for processing UTF-8 encoded Unicode strings" 1.11 +MAINTAINER="al.bobylev@gmail.com" 1.12 +LICENSE="MIT" 1.13 +WEB_SITE="http://git.netsurf-browser.org/libutf8proc.git/" 1.14 + 1.15 +TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2" 1.16 +BASE_URL="http://git.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="libutf8proc-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 + libutf8proc) copy @std;; 1.40 + *-dev) copy @dev;; 1.41 + esac 1.42 +}