wok-next view uchardet/receipt @ rev 21616

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