wok-6.x view menu-cache/receipt @ rev 25273

created recipe for gcc83-lang (really)
author Hans-G?nter Theisgen
date Sun Jul 17 17:53:46 2022 +0100 (2022-07-17)
parents ee53899c6189
children
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
12 TAGS="LXDE"
13 HOST_ARCH="i486 arm"
15 DEPENDS="glib glibc-base libfm-extra libgio" # slitaz-menus ?
16 BUILD_DEPENDS="gtk-doc libtool libfm-extra-dev"
18 current_version()
19 {
20 wget -O - $WEB_SITE/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --libexecdir=/usr/lib \
31 --disable-static \
32 $CONFIGURE_ARGS &&
33 make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib/
41 cp -a $install/usr/lib/menu-cache $fs/usr/lib/
42 }