wok-next annotate libzen/receipt @ rev 21358

gobby: removed sed command from compile_rules
author Hans-G?nter Theisgen
date Sun Apr 12 07:08:52 2020 +0100 (2020-04-12)
parents 9a78fd347e59
children
rev   line source
al@20534 1 # SliTaz package receipt v2.
al@18634 2
al@18634 3 PACKAGE="libzen"
al@21015 4 VERSION="0.4.37"
al@20534 5 CATEGORY="development"
al@18634 6 SHORT_DESC="ZenLib - small C++ derivative class to have a simpler life"
al@18634 7 MAINTAINER="al.bobylev@gmail.com"
al@18634 8 LICENSE="zlib/libpng"
al@18634 9 WEB_SITE="http://mediaarea.net/"
al@20534 10
al@18634 11 TARBALL="${PACKAGE}_$VERSION.tar.bz2"
al@18634 12 WGET_URL="${WEB_SITE}download/source/$PACKAGE/$VERSION/$TARBALL"
al@18634 13
al@21094 14 COOKOPTS="force-arch" # different .cmake
al@21094 15
al@21015 16 BUILD_DEPENDS="cmake"
al@21015 17 SPLIT="$PACKAGE-dev"
al@18634 18
al@20534 19 compile_rules() {
al@21015 20 cd Project/CMake
al@21015 21 cmake \
al@21015 22 -DCMAKE_BUILD_TYPE=Release \
al@21015 23 -DCMAKE_INSTALL_PREFIX=/usr \
al@21015 24 -DLIB_INSTALL_DIR=/usr/lib \
al@21015 25 -DCMAKE_VERBOSE_MAKEFILE=ON \
al@21015 26 &&
al@20534 27 make &&
al@21015 28 make install
al@18634 29 }
al@18634 30
al@20534 31 genpkg_rules() {
al@21015 32 case $PACKAGE in
al@21015 33 libzen) copy @std;;
al@21015 34 *-dev) copy @dev;;
al@21015 35 esac
al@18634 36 }