wok-next annotate uchardet/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | 6a9bc040c7d2 |
children |
rev | line source |
---|---|
al@20373 | 1 # SliTaz package receipt v2. |
al@20373 | 2 |
al@20373 | 3 PACKAGE="uchardet" |
al@20373 | 4 VERSION="0.0.6" |
al@20373 | 5 CATEGORY="text" |
al@20373 | 6 SHORT_DESC="Encoding detector library ported from Mozilla" |
al@20373 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20373 | 8 LICENSE="MPL" |
al@20373 | 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/uchardet/" |
al@20373 | 10 |
al@20373 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20373 | 12 WGET_URL="https://www.freedesktop.org/software/uchardet/releases/$TARBALL" |
al@20373 | 13 |
al@20373 | 14 BUILD_DEPENDS="cmake" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
al@20373 | 16 |
al@20373 | 17 compile_rules() { |
al@20373 | 18 cmake \ |
al@20373 | 19 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20373 | 20 -DCMAKE_INSTALL_LIBDIR=lib \ |
al@20373 | 21 -DCMAKE_BUILD_TYPE=Release \ |
al@20373 | 22 . && |
al@20373 | 23 make && |
al@20373 | 24 make install |
al@20373 | 25 } |
al@20373 | 26 |
al@20373 | 27 genpkg_rules() { |
al@20373 | 28 case $PACKAGE in |
al@20373 | 29 uchardet) copy @std;; |
al@20373 | 30 *-dev) copy @dev;; |
al@20373 | 31 esac |
al@20373 | 32 } |