wok-6.x annotate lxmenu-data/receipt @ rev 24201

updated perl-digest-md5 (2.55 -> 2.58)
author Hans-G?nter Theisgen
date Fri Dec 31 15:19:54 2021 +0100 (2021-12-31)
parents f785404cbaa7
children 196372051572
rev   line source
rcx@3623 1 # SliTaz package receipt.
rcx@3623 2
rcx@3623 3 PACKAGE="lxmenu-data"
devl547@19602 4 VERSION="0.1.5"
rcx@3623 5 CATEGORY="x-window"
al@17992 6 SHORT_DESC="LXDE freedesktop.org menu specification"
rcx@3623 7 MAINTAINER="rcx@zoominternet.net"
pascal@15379 8 LICENSE="GPL2"
al@17988 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@23725 10 WEB_SITE="https://wiki.lxde.org/en/LXPanel"
rcx@3623 11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
rcx@3623 12 CONFIG_FILES="/etc/xdg/menus/lxde-applications.menu"
al@17992 13 TAGS="LXDE"
pankso@16252 14 HOST_ARCH="i486 arm"
rcx@3623 15
pascal@20892 16 [ "$ARCH" = "i486" ] && BUILD_DEPENDS="gettext intltool"
pascal@15379 17
pascal@24071 18 current_version()
pascal@24071 19 {
pascal@24071 20 wget -O - https://sourceforge.net/projects/lxde/files/lxmenu-data%20%28desktop%20menu%29/ 2>/dev/null | \
pascal@24071 21 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24071 22 }
pascal@24071 23
rcx@3623 24 # Rules to configure and make the package.
rcx@3623 25 compile_rules()
rcx@3623 26 {
rcx@3623 27 ./configure \
rcx@3623 28 --prefix=/usr \
rcx@3623 29 --sysconfdir=/etc \
rcx@3623 30 $CONFIGURE_ARGS &&
rcx@3623 31 make &&
pascal@15379 32 make DESTDIR=$DESTDIR install
rcx@3623 33 }
rcx@3623 34
rcx@3623 35 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3623 36 genpkg_rules()
rcx@3623 37 {
rcx@3623 38 mkdir -p $fs
pascal@15379 39 cp -a $install/usr $fs
pascal@15379 40 cp -a $install/etc $fs
rcx@3623 41 }