wok-current annotate xorg-presentproto/receipt @ rev 24590
syslinux: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 28 14:39:39 2022 +0000 (2022-02-28) |
parents | 1335e1bdc222 |
children | a23978bfa665 |
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 } |