wok-current annotate xorg-compositeproto/receipt @ rev 25069
updated alsaequal (0.6 -> 0.7.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 10 14:01:46 2022 +0100 (2022-06-10) |
parents | 814c58f64f83 |
children | a23978bfa665 |
rev | line source |
---|---|
pankso@87 | 1 # SliTaz package receipt. |
pankso@87 | 2 |
pankso@87 | 3 PACKAGE="xorg-compositeproto" |
slaxemulator@7019 | 4 VERSION="0.4.2" |
pankso@200 | 5 CATEGORY="development" |
al@14604 | 6 SHORT_DESC="Composite extension headers" |
pankso@87 | 7 MAINTAINER="pankso@slitaz.org" |
al@14604 | 8 LICENSE="other" |
pascal@20423 | 9 WEB_SITE="https://www.x.org/" |
slaxemulator@14639 | 10 SOURCE="compositeproto" |
slaxemulator@14639 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
al@14604 | 12 WGET_URL="$XORG_MIRROR/proto/$TARBALL" |
pankso@15983 | 13 HOST_ARCH="i486 arm" |
al@14604 | 14 |
pascal@15598 | 15 DEPENDS="xorg-fixesproto pkg-config" |
gokhlayeh@7713 | 16 BUILD_DEPENDS="xorg-util-macros" |
pankso@87 | 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@87 | 24 # Rules to configure and make the package. |
pankso@87 | 25 compile_rules() |
pankso@87 | 26 { |
al@14604 | 27 ./configure \ |
al@14604 | 28 --sysconfdir=/etc \ |
al@14604 | 29 --localstatedir=/var \ |
al@14604 | 30 $CONFIGURE_ARGS && |
al@14604 | 31 make && |
al@14604 | 32 make install |
pankso@87 | 33 } |
pankso@87 | 34 |
pankso@87 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@87 | 36 genpkg_rules() |
pankso@87 | 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 |
al@14604 | 41 cp -a $install/* $fs |
al@14604 | 42 rm -rf $fs/usr/share/doc |
pankso@87 | 43 } |