wok-next view menu-cache/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="menu-cache"
4 VERSION="1.1.0"
5 CATEGORY="x-window"
6 SHORT_DESC="LXDE implementation of the freedesktop menu's cache"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/lxde/menu-cache"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxde/menu-cache.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz" # (.xz from SF)
13 #WGET_URL="$SF_MIRROR/lxde/$TARBALL" # SF download problems
14 WGET_URL="https://github.com/lxde/menu-cache/archive/$VERSION.tar.gz"
16 BUILD_DEPENDS="automake gtk-doc libtool glib-dev libfm-extra-dev"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 # tarball from github.com requires this step
21 [ -e "$src/configure" ] || ./autogen.sh
23 ./configure \
24 --disable-static \
25 --enable-gtk-doc \
26 $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 menu-cache)
35 copy @std
36 DEPENDS="glib libfm-extra"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="menu-cache glib-dev"
41 ;;
42 esac
43 TAGS="LXDE"
44 }