wok-current view icon-naming-utils/receipt @ rev 25792

Fix openbox menu, label keymap on lxpanel and add miss it translation for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Tue Oct 07 05:55:24 2025 +0000 (3 weeks ago)
parents 870e1ce31226
children
line source
1 # SliTaz package receipt.
3 PACKAGE="icon-naming-utils"
4 VERSION="0.8.90"
5 CATEGORY="x-window"
6 SHORT_DESC="Perl script used for desktop icon compatibility"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://tango.freedesktop.org/Tango_Icon_Library"
11 WGET_URL="http://tango.freedesktop.org/releases/$TARBALL"
13 DEPENDS="perl perl-xml-simple"
14 BUILD_DEPENDS="perl perl-xml-simple"
16 HOST_ARCH="i486 x86_64"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed '/icecast-/!d;/tar/!d;/-beta/d;s|.*icecast-||;s|.tar.*||' | sort -Vr | sed q
23 }
25 # What is the latest version available today?
26 current_version()
27 {
28 wget -O - ${WGET_URL%/*} 2>/dev/null | \
29 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
30 }
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 cd $src
36 ./configure \
37 --prefix=/usr \
38 --libexecdir=/usr/lib/icon-naming-utils \
39 $CONFIGURE_ARGS &&
40 make &&
41 make DESTDIR=$DESTDIR install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/share
48 cp -a $install/usr/lib $fs/usr
49 cp -a $install/usr/share/dtds $fs/usr/share
50 cp -a $install/usr/share/$PACKAGE $fs/usr/share
52 chmod +x $fs/usr/lib/$PACKAGE/*
54 # For one file we are not going to build a -dev pkg
55 cp -a $install/usr/share/pkgconfig $fs/usr/lib
56 }