wok-current view xorg-libxkbfile/receipt @ rev 24980

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 08 09:19:55 2022 +0000 (2022-05-08)
parents 8ebb583f19f2
children 5926178cd6fa
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libxkbfile"
4 VERSION="1.1.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server keyboard library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="libxkbfile"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
15 DEPENDS="libxcb xorg-libX11 xorg-libXau xorg-libXdmcp"
16 BUILD_DEPENDS="libxcb-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev"
18 HOST_ARCH="i486 arm"
20 current_version()
21 {
22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --sysconfdir=/etc \
31 --localstatedir=/var \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }