wok-next annotate grantlee/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 | c0521c689857 |
children | f48456621a9d |
rev | line source |
---|---|
al@20405 | 1 # SliTaz package receipt v2. |
al@20405 | 2 |
al@20405 | 3 PACKAGE="grantlee" |
al@20405 | 4 VERSION="5.1.0" |
al@20405 | 5 CATEGORY="libdevel" |
al@20405 | 6 SHORT_DESC="Libraries for text templating with Qt" |
al@20405 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20405 | 8 LICENSE="LGPL2.1" |
al@20405 | 9 WEB_SITE="https://github.com/steveire/grantlee" |
al@20405 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/grantlee.html" |
al@20405 | 11 |
al@20405 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20405 | 13 WGET_URL="http://downloads.grantlee.org/$TARBALL" |
al@20405 | 14 |
al@20502 | 15 BUILD_DEPENDS="cmake qt5-dev mesa-dev" |
al@20405 | 16 SPLIT="grantlee-dev" |
al@20405 | 17 |
al@20405 | 18 compile_rules() { |
al@20405 | 19 mkdir build |
al@20405 | 20 cd build |
al@20405 | 21 |
al@20405 | 22 cmake \ |
al@20405 | 23 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20405 | 24 -DCMAKE_BUILD_TYPE=Release \ |
al@20405 | 25 .. && |
al@20405 | 26 make && |
al@20405 | 27 make install |
al@20405 | 28 } |
al@20405 | 29 |
al@20405 | 30 genpkg_rules() { |
al@20405 | 31 case $PACKAGE in |
al@20405 | 32 grantlee) |
al@20405 | 33 copy @std |
al@20405 | 34 DEPENDS="qt5-base qt5-script" |
al@20405 | 35 ;; |
al@20405 | 36 *-dev) |
al@20405 | 37 copy @dev |
al@20405 | 38 ;; |
al@20405 | 39 esac |
al@20405 | 40 } |