wok-current view xorg-libxshmfence/receipt @ rev 25024

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 18 20:10:17 2022 +0000 (2022-05-18)
parents 469f8561ac86
children ac34e9209f8e
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libxshmfence"
4 VERSION="1.3"
5 CATEGORY="x-window"
6 SHORT_DESC="X11 shared memory fences."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://xorg.freedesktop.org/"
11 SOURCE="libxshmfence"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="https://www.x.org/releases/individual/lib/$TARBALL"
15 current_version()
16 {
17 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
18 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
19 }
21 compile_rules()
22 {
23 ./configure \
24 --prefix=/usr \
25 --enable-futex \
26 $CONFIGURE_ARGS &&
27 make &&
28 make install
29 }
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }