wok-next annotate libutf8proc/receipt @ rev 20827
new tor: 0.3.3.7
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Thu Jun 14 10:13:14 2018 +0000 (2018-06-14) |
parents | |
children |
rev | line source |
---|---|
al@19868 | 1 # SliTaz package receipt v2. |
al@19868 | 2 |
al@19868 | 3 PACKAGE="libutf8proc" |
al@19868 | 4 COMMIT="770e329cceaf0620c7b482589a9b17ed1d19c16d" |
al@19868 | 5 VERSION="1.3.1-2-161123" |
al@19868 | 6 CATEGORY="libs" |
al@19868 | 7 SHORT_DESC="C library for processing UTF-8 encoded Unicode strings" |
al@19868 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@19868 | 9 LICENSE="MIT" |
al@19868 | 10 WEB_SITE="http://git.netsurf-browser.org/libutf8proc.git/" |
al@19868 | 11 |
al@19868 | 12 TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2" |
al@19868 | 13 BASE_URL="http://git.netsurf-browser.org/$PACKAGE.git/snapshot" |
al@19868 | 14 if [ -n "$COMMIT" ]; then |
al@19868 | 15 WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2" |
al@19868 | 16 else |
al@19868 | 17 WGET_URL="$BASE_URL/release/$VERSION.tar.bz2" |
al@19868 | 18 fi |
al@19868 | 19 |
al@19868 | 20 BUILD_DEPENDS="netsurf-buildsystem" |
al@19868 | 21 SPLIT="libutf8proc-dev" |
al@19868 | 22 |
al@19868 | 23 compile_rules() { |
al@19868 | 24 [ -z "$COMMIT" ] && cd $VERSION |
al@19868 | 25 |
al@19868 | 26 make \ |
al@19868 | 27 PREFIX=/usr \ |
al@19868 | 28 LIBDIR=lib \ |
al@19868 | 29 INCLUDEDIR=include \ |
al@19868 | 30 COMPONENT_TYPE=lib-shared \ |
al@19868 | 31 install |
al@19868 | 32 } |
al@19868 | 33 |
al@19868 | 34 genpkg_rules() { |
al@19868 | 35 case $PACKAGE in |
al@19868 | 36 libutf8proc) copy @std;; |
al@19868 | 37 *-dev) copy @dev;; |
al@19868 | 38 esac |
al@19868 | 39 } |