wok-next annotate graphite2/receipt @ rev 21010
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Oct 12 16:40:30 2018 +0300 (2018-10-12) |
parents | 43798211bff4 |
children | d5aab818505e |
rev | line source |
---|---|
al@19796 | 1 # SliTaz package receipt v2. |
al@19796 | 2 |
al@19796 | 3 PACKAGE="graphite2" |
al@21010 | 4 VERSION="1.3.12" |
al@19796 | 5 CATEGORY="localization" |
al@19796 | 6 SHORT_DESC="Graphite font engine" |
al@19796 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19796 | 8 LICENSE="LGPL2.1" |
al@19796 | 9 WEB_SITE="http://graphite.sil.org/" |
al@21010 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/graphite2.html" |
al@19796 | 11 |
al@19796 | 12 TARBALL="$PACKAGE-$VERSION.tgz" |
al@19796 | 13 WGET_URL="https://github.com/silnrsi/graphite/releases/download/$VERSION/$TARBALL" |
al@19796 | 14 |
al@19796 | 15 BUILD_DEPENDS="cmake freetype-dev" |
al@19796 | 16 SPLIT="graphite2-dev" |
al@19796 | 17 |
al@20630 | 18 compile_rules() { |
al@20630 | 19 mkdir build |
al@20630 | 20 cd build |
al@20630 | 21 cmake \ |
al@20630 | 22 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20630 | 23 .. && |
al@20630 | 24 make && |
al@20630 | 25 make install |
al@19796 | 26 } |
al@19796 | 27 |
al@20630 | 28 genpkg_rules() { |
al@19796 | 29 case $PACKAGE in |
al@19796 | 30 graphite2) copy @std;; |
al@19796 | 31 *-dev) copy @dev;; |
al@19796 | 32 esac |
al@19796 | 33 } |