wok-next view uchardet/receipt @ rev 20983

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Sep 28 13:48:52 2018 +0300 (2018-09-28)
parents
children d5aab818505e
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="uchardet-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 }