wok-next diff uchardet/receipt @ rev 20916
libopenraw, abiword: update deps; boost: pack unpacked libs
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Aug 21 05:42:25 2018 +0300 (2018-08-21) |
parents | |
children | d5aab818505e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/uchardet/receipt Tue Aug 21 05:42:25 2018 +0300 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="uchardet" 1.7 +VERSION="0.0.6" 1.8 +CATEGORY="text" 1.9 +SHORT_DESC="Encoding detector library ported from Mozilla" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="MPL" 1.12 +WEB_SITE="https://www.freedesktop.org/wiki/Software/uchardet/" 1.13 + 1.14 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.15 +WGET_URL="https://www.freedesktop.org/software/uchardet/releases/$TARBALL" 1.16 + 1.17 +BUILD_DEPENDS="cmake" 1.18 +SPLIT="uchardet-dev" 1.19 + 1.20 +compile_rules() { 1.21 + cmake \ 1.22 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.23 + -DCMAKE_INSTALL_LIBDIR=lib \ 1.24 + -DCMAKE_BUILD_TYPE=Release \ 1.25 + . && 1.26 + make && 1.27 + make install 1.28 +} 1.29 + 1.30 +genpkg_rules() { 1.31 + case $PACKAGE in 1.32 + uchardet) copy @std;; 1.33 + *-dev) copy @dev;; 1.34 + esac 1.35 +}