wok view lxmenu-data/receipt @ rev 24130
Add tnylpo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 18 14:47:15 2021 +0000 (2021-10-18) |
parents | f785404cbaa7 |
children | 196372051572 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lxmenu-data"
4 VERSION="0.1.5"
5 CATEGORY="x-window"
6 SHORT_DESC="LXDE freedesktop.org menu specification"
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://wiki.lxde.org/en/LXPanel"
11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
12 CONFIG_FILES="/etc/xdg/menus/lxde-applications.menu"
13 TAGS="LXDE"
14 HOST_ARCH="i486 arm"
16 [ "$ARCH" = "i486" ] && BUILD_DEPENDS="gettext intltool"
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/lxde/files/lxmenu-data%20%28desktop%20menu%29/ 2>/dev/null | \
21 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).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 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs
39 cp -a $install/usr $fs
40 cp -a $install/etc $fs
41 }