wok-next view uchardet/receipt @ rev 21144
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jan 26 15:54:42 2019 +0200 (2019-01-26) |
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 }