wok-6.x annotate xorg-dmxproto/receipt @ rev 25306
sip-4.19.25: last version for Python 2
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 20 10:39:41 2022 +0100 (2022-07-20) |
parents | 814c58f64f83 |
children |
rev | line source |
---|---|
pankso@12498 | 1 # SliTaz package receipt. |
pankso@12498 | 2 |
pankso@12498 | 3 PACKAGE="xorg-dmxproto" |
al@14604 | 4 VERSION="2.3.1" |
pankso@12498 | 5 CATEGORY="development" |
al@14604 | 6 SHORT_DESC="DMX extension headers" |
pankso@12498 | 7 MAINTAINER="pankso@slitaz.org" |
al@14604 | 8 LICENSE="other" |
pascal@20423 | 9 WEB_SITE="https://www.x.org/" |
slaxemulator@14639 | 10 SOURCE="dmxproto" |
slaxemulator@14639 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@12498 | 12 WGET_URL="$XORG_MIRROR/proto/$TARBALL" |
pankso@12498 | 13 |
pascal@15598 | 14 DEPENDS="xorg-util-macros pkg-config" |
pankso@12498 | 15 BUILD_DEPENDS="xorg-util-macros" |
pankso@12498 | 16 |
pascal@24072 | 17 current_version() |
pascal@24072 | 18 { |
pascal@24072 | 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 20 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 21 } |
pascal@24072 | 22 |
pankso@12498 | 23 # Rules to configure and make the package. |
pankso@12498 | 24 compile_rules() |
pankso@12498 | 25 { |
pankso@12498 | 26 ./configure \ |
pankso@12498 | 27 --sysconfdir=/etc \ |
pankso@12498 | 28 --localstatedir=/var \ |
pankso@12498 | 29 $CONFIGURE_ARGS && |
al@14604 | 30 make && |
al@14604 | 31 make install |
pankso@12498 | 32 } |
pankso@12498 | 33 |
pankso@12498 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12498 | 35 genpkg_rules() |
pankso@12498 | 36 { |
al@14604 | 37 mkdir -p $fs/usr/share/licenses |
al@14604 | 38 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt |
al@14604 | 39 |
pankso@12498 | 40 cp -a $install/* $fs |
pankso@12498 | 41 } |