wok-next view granite/receipt @ rev 20976
Follow recent changes in the Python renames
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Sep 25 17:35:51 2018 +0300 (2018-09-25) |
parents | bbddbb716008 |
children | 33dc3c330cc7 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="granite"
4 VERSION="5.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library that extends GTK+"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL3"
9 WEB_SITE="https://github.com/elementary/granite"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/elementary/granite/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="cmake vala gtk+3-dev libgee-dev gobject-introspection-dev \
15 gettext"
16 SPLIT="granite-demo granite granite-dev"
18 COOKOPTS="!menus"
20 compile_rules() {
21 mkdir build
22 cd build
23 cmake \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 .. &&
26 make &&
27 make DESTDIR=$install install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 granite-demo)
33 copy granite-demo granite-demo.desktop
34 CAT="development|demo"
35 DEPENDS="glib granite gtk+3 libgee"
36 ;;
37 granite)
38 copy @std *.svg *.mo @rm
39 DEPENDS="cairo gdk-pixbuf glib gtk+3 libgee pango"
40 ;;
41 *-dev)
42 copy @dev
43 DEPENDS="granite cairo-dev gdk-pixbuf-dev glib-dev gtk+3-dev \
44 libgee-dev"
45 ;;
46 esac
47 }