wok annotate xorg-recordproto/receipt @ rev 25591
enet: update wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 22 11:01:59 2023 +0000 (14 months ago) |
parents | 814c58f64f83 |
children |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-recordproto" |
pankso@12503 | 4 VERSION="1.14.2" |
pankso@211 | 5 CATEGORY="development" |
al@14604 | 6 SHORT_DESC="Record extension headers" |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
al@14604 | 8 LICENSE="other" |
pascal@20423 | 9 WEB_SITE="https://www.x.org/" |
slaxemulator@14639 | 10 SOURCE="recordproto" |
slaxemulator@14639 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@20 | 12 WGET_URL="$XORG_MIRROR/proto/$TARBALL" |
pankso@16036 | 13 HOST_ARCH="i486 arm" |
pankso@20 | 14 |
pascal@15598 | 15 DEPENDS="xorg-util-macros pkg-config" |
pankso@12503 | 16 BUILD_DEPENDS="xorg-util-macros" |
pankso@12503 | 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 |
pankso@20 | 24 # Rules to configure and make the package. |
pankso@20 | 25 compile_rules() |
pankso@20 | 26 { |
pankso@12503 | 27 ./configure \ |
pankso@12503 | 28 --sysconfdir=/etc \ |
pankso@12503 | 29 --localstatedir=/var \ |
pankso@12503 | 30 $CONFIGURE_ARGS && |
al@14604 | 31 make && |
al@14604 | 32 make install |
pankso@20 | 33 } |
pankso@20 | 34 |
pankso@20 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 36 genpkg_rules() |
pankso@20 | 37 { |
al@14604 | 38 mkdir -p $fs/usr/share/licenses |
al@14604 | 39 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt |
al@14604 | 40 |
pankso@12503 | 41 cp -a $install/* $fs |
al@14604 | 42 rm -rf $fs/usr/share/doc |
pankso@20 | 43 } |