wok-next view uchardet/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
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 }