wok-current annotate xorg-libXxf86dga/receipt @ rev 24414
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 10 11:43:39 2022 +0000 (2022-02-10) |
parents | 9bec17b2e07c |
children | 5926178cd6fa |
rev | line source |
---|---|
pascal@14627 | 1 # SliTaz package receipt. |
pascal@14627 | 2 |
pascal@14627 | 3 PACKAGE="xorg-libXxf86dga" |
Hans-G?nter@22232 | 4 VERSION="1.1.5" |
pascal@14627 | 5 CATEGORY="x-window" |
pascal@14627 | 6 SHORT_DESC="Xorg server module." |
pascal@14627 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
Hans-G?nter@22232 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22232 | 10 |
pascal@14627 | 11 SOURCE="libXxf86dga" |
pascal@14627 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@14627 | 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pascal@14627 | 14 |
pascal@14627 | 15 DEPENDS="" |
Hans-G?nter@22232 | 16 BUILD_DEPENDS="pkg-config xorg-libX11-dev xorg-libXext-dev |
Hans-G?nter@22232 | 17 xorg-util-macros xorg-xf86dgaproto xorg-xproto" |
pascal@14627 | 18 |
pascal@24072 | 19 current_version() |
pascal@24072 | 20 { |
pascal@24072 | 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 22 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 23 } |
pascal@24072 | 24 |
pascal@14627 | 25 # Rules to configure and make the package. |
pascal@14627 | 26 compile_rules() |
pascal@14627 | 27 { |
Hans-G?nter@22232 | 28 ./configure \ |
Hans-G?nter@22232 | 29 --sysconfdir=/etc \ |
Hans-G?nter@22232 | 30 --mandir=/usr/share/man \ |
Hans-G?nter@22232 | 31 --localstatedir=/var \ |
pascal@14627 | 32 $CONFIGURE_ARGS && |
Hans-G?nter@22232 | 33 make && |
Hans-G?nter@22232 | 34 make install |
pascal@14627 | 35 } |
pascal@14627 | 36 |
pascal@14627 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14627 | 38 genpkg_rules() |
pascal@14627 | 39 { |
pascal@14627 | 40 mkdir -p $fs/usr/lib |
pascal@14627 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14627 | 42 } |