wok-6.x view xdg-utils/receipt @ rev 25266
gdk-pixbuf: added dependency libjpeg
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 13:56:48 2022 +0100 (2022-07-15) |
parents | 535c806240cc |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xdg-utils"
4 VERSION="1.1.3"
5 CATEGORY="development"
6 SHORT_DESC="Assists desktop integration tasks."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/xdg-utils/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://portland.freedesktop.org/download/$TARBALL"
13 HOST_ARCH="i486 arm"
15 BUILD_DEPENDS="docbook-xsl lynx util-linux-getopt xmlto"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 $CONFIGURE_ARGS &&
30 make scripts &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 }