wok-next view libzen/receipt @ rev 21153

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 31 16:45:41 2019 +0200 (2019-01-31)
parents 9a78fd347e59
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libzen"
4 VERSION="0.4.37"
5 CATEGORY="development"
6 SHORT_DESC="ZenLib - small C++ derivative class to have a simpler life"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="zlib/libpng"
9 WEB_SITE="http://mediaarea.net/"
11 TARBALL="${PACKAGE}_$VERSION.tar.bz2"
12 WGET_URL="${WEB_SITE}download/source/$PACKAGE/$VERSION/$TARBALL"
14 COOKOPTS="force-arch" # different .cmake
16 BUILD_DEPENDS="cmake"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 cd Project/CMake
21 cmake \
22 -DCMAKE_BUILD_TYPE=Release \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 -DLIB_INSTALL_DIR=/usr/lib \
25 -DCMAKE_VERBOSE_MAKEFILE=ON \
26 &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 libzen) copy @std;;
34 *-dev) copy @dev;;
35 esac
36 }