wok view xdg-utils/receipt @ rev 24768
libwebkit: bison 3 fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 19 12:46:44 2022 +0000 (2022-03-19) |
parents | f90a38690df8 |
children | 1805f71c5d9f |
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="http://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 }