wok-current annotate 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 |
rev | line source |
---|---|
Hans-G?nter@24037 | 1 # SliTaz package receipt. |
Hans-G?nter@24037 | 2 |
Hans-G?nter@24037 | 3 PACKAGE="xorg-libxshmfence" |
Hans-G?nter@24037 | 4 VERSION="1.3" |
Hans-G?nter@24037 | 5 CATEGORY="x-window" |
Hans-G?nter@24037 | 6 SHORT_DESC="X11 shared memory fences." |
Hans-G?nter@24037 | 7 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@24037 | 8 LICENSE="MIT" |
Hans-G?nter@24037 | 9 WEB_SITE="https://xorg.freedesktop.org/" |
Hans-G?nter@24037 | 10 |
Hans-G?nter@24037 | 11 SOURCE="libxshmfence" |
Hans-G?nter@24037 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
Hans-G?nter@24037 | 13 WGET_URL="https://www.x.org/releases/individual/lib/$TARBALL" |
Hans-G?nter@24037 | 14 |
pascal@24072 | 15 current_version() |
pascal@24072 | 16 { |
pascal@24072 | 17 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 18 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 19 } |
pascal@24072 | 20 |
Hans-G?nter@24037 | 21 compile_rules() |
Hans-G?nter@24037 | 22 { |
Hans-G?nter@24037 | 23 ./configure \ |
Hans-G?nter@24037 | 24 --prefix=/usr \ |
Hans-G?nter@24037 | 25 --enable-futex \ |
Hans-G?nter@24037 | 26 $CONFIGURE_ARGS && |
Hans-G?nter@24037 | 27 make && |
Hans-G?nter@24037 | 28 make install |
Hans-G?nter@24037 | 29 } |
Hans-G?nter@24037 | 30 |
Hans-G?nter@24037 | 31 genpkg_rules() |
Hans-G?nter@24037 | 32 { |
Hans-G?nter@24037 | 33 mkdir -p $fs/usr/lib |
Hans-G?nter@24037 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@24037 | 35 } |