wok-next view libsmfm-gtk/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 87011214235a |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libsmfm-gtk"
4 VERSION="git20170110" # no releases there
5 COMMIT="52cbf70"
6 CATEGORY="development"
7 SHORT_DESC="File manager development library"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="https://github.com/sde-gui/libsmfm-gtk"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/sde-gui/libsmfm-gtk/archive/$COMMIT.tar.gz"
15 BUILD_DEPENDS="automake gtk-doc libtool gettext shared-mime-info \
16 libsmfm-core-dev intltool pango-dev gtk2-dev menu-cache-dev"
17 SPLIT="$PACKAGE-dev"
19 # WARNING: custom actions support isn't ready yet (as for git20170110 version)
21 compile_rules() {
22 # hardcoded to use automake-1.11 ... 1.15, but we have automake-1.16 only
23 sed -i 's|1\.15|1.16|' autogen.sh
25 ./autogen.sh &&
26 ./configure $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make install || return 1
31 rmdir --parents --ignore-fail-on-non-empty $install/usr/include/libsmfm-gtk/
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 libsmfm-gtk)
37 copy @std
38 DEPENDS="atk cairo gdk-pixbuf glib gtk2 libsmfm-core menu-cache \
39 pango"
40 ;;
41 *-dev)
42 copy @dev
43 DEPENDS="libsmfm-gtk glib-dev gtk2-dev libsmfm-core-dev"
44 ;;
45 esac
46 }