wok-next annotate granite/receipt @ rev 21595
updated dokuwiki (2012-01-25 -> 2018-04-22c)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 13:53:45 2020 +0100 (2020-06-24) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
pascal@20183 | 1 # SliTaz package receipt v2. |
pascal@15721 | 2 |
pascal@15721 | 3 PACKAGE="granite" |
al@21010 | 4 VERSION="5.1.0" |
pascal@15721 | 5 CATEGORY="system-tools" |
al@20624 | 6 SHORT_DESC="Library that extends GTK+" |
pascal@15721 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15721 | 8 LICENSE="LGPL3" |
al@20624 | 9 WEB_SITE="https://github.com/elementary/granite" |
pascal@15721 | 10 |
al@20624 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20624 | 12 WGET_URL="https://github.com/elementary/granite/archive/$VERSION.tar.gz" |
pascal@15721 | 13 |
al@21010 | 14 BUILD_DEPENDS="cmake vala gtk3-dev libgee-dev gobject-introspection-dev \ |
al@21020 | 15 gettext-dev" |
al@21010 | 16 SPLIT="$PACKAGE-demo $PACKAGE $PACKAGE-dev" |
pascal@15721 | 17 |
al@20624 | 18 COOKOPTS="!menus" |
al@20624 | 19 |
al@20624 | 20 compile_rules() { |
al@20624 | 21 mkdir build |
al@20624 | 22 cd build |
al@20624 | 23 cmake \ |
al@20624 | 24 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20624 | 25 .. && |
pascal@15721 | 26 make && |
pascal@15721 | 27 make DESTDIR=$install install |
pascal@15721 | 28 } |
pascal@15721 | 29 |
al@20624 | 30 genpkg_rules() { |
pascal@20183 | 31 case $PACKAGE in |
al@20624 | 32 granite-demo) |
al@20624 | 33 copy granite-demo granite-demo.desktop |
al@20624 | 34 CAT="development|demo" |
al@21010 | 35 DEPENDS="glib granite gtk3 libgee" |
al@20624 | 36 ;; |
al@20624 | 37 granite) |
al@20624 | 38 copy @std *.svg *.mo @rm |
al@21105 | 39 DEPENDS="libcairo gdk-pixbuf glib gtk3 libgee pango" |
al@20624 | 40 ;; |
al@20624 | 41 *-dev) |
al@20624 | 42 copy @dev |
al@21010 | 43 DEPENDS="granite cairo-dev gdk-pixbuf-dev glib-dev gtk3-dev \ |
al@20624 | 44 libgee-dev" |
al@20624 | 45 ;; |
pascal@20183 | 46 esac |
pascal@15721 | 47 } |