wok annotate xorg-presentproto/receipt @ rev 25424
updated x265 and x265-dev (3.2 -> 3.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 18 16:24:15 2022 +0100 (2022-08-18) |
parents | 1335e1bdc222 |
children |
rev | line source |
---|---|
pascal@18124 | 1 # SliTaz package receipt. |
pascal@18124 | 2 |
pascal@18124 | 3 PACKAGE="xorg-presentproto" |
Hans-G?nter@22240 | 4 VERSION="1.1" |
pascal@18124 | 5 CATEGORY="development" |
pascal@18124 | 6 SHORT_DESC="Present extension headers." |
pascal@18124 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18124 | 8 LICENSE="other" |
Hans-G?nter@22240 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22240 | 10 |
pascal@18124 | 11 SOURCE="presentproto" |
pascal@18124 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@18124 | 13 WGET_URL="$XORG_MIRROR/proto/$TARBALL" |
pascal@18124 | 14 |
Hans-G?nter@22240 | 15 DEPENDS="pkg-config xorg-util-macros" |
pascal@18124 | 16 BUILD_DEPENDS="xorg-util-macros" |
pascal@18124 | 17 |
pascal@24072 | 18 current_version() |
pascal@24072 | 19 { |
pascal@24072 | 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 22 } |
pascal@24072 | 23 |
pascal@18124 | 24 # Rules to configure and make the package. |
pascal@18124 | 25 compile_rules() |
pascal@18124 | 26 { |
Hans-G?nter@22240 | 27 ./configure \ |
Hans-G?nter@22240 | 28 --sysconfdir=/etc \ |
Hans-G?nter@22240 | 29 --localstatedir=/var \ |
pascal@18124 | 30 $CONFIGURE_ARGS && |
pascal@18124 | 31 make && |
pascal@18124 | 32 make install |
pascal@18124 | 33 } |
pascal@18124 | 34 |
pascal@18124 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18124 | 36 genpkg_rules() |
pascal@18124 | 37 { |
pascal@18124 | 38 cp -a $install/* $fs |
pascal@18124 | 39 rm -rf $fs/usr/share |
pascal@18124 | 40 } |