wok-6.x annotate xorg-util-macros/receipt @ rev 24551
updated fish and fish-doc (3.0.2 -> 3.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 09:50:31 2022 +0100 (2022-02-25) |
parents | 2d4bdef5c3b9 |
children |
rev | line source |
---|---|
gokhlayeh@6993 | 1 # SliTaz package receipt. |
gokhlayeh@6993 | 2 |
gokhlayeh@6993 | 3 PACKAGE="xorg-util-macros" |
Hans-G?nter@22198 | 4 VERSION="1.19.2" |
gokhlayeh@6993 | 5 CATEGORY="development" |
Hans-G?nter@22198 | 6 SHORT_DESC="A set of autoconf project macros for X.Org modules." |
gokhlayeh@6993 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
al@14604 | 8 LICENSE="other" |
Hans-G?nter@22198 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22198 | 10 |
slaxemulator@14639 | 11 SOURCE="util-macros" |
slaxemulator@14639 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
gokhlayeh@6993 | 13 WGET_URL="$XORG_MIRROR/util/$TARBALL" |
gokhlayeh@6993 | 14 |
pankso@15951 | 15 DEPENDS="m4" |
al@14604 | 16 |
Hans-G?nter@22198 | 17 HOST_ARCH="i486 arm x86_64" |
Hans-G?nter@22198 | 18 |
pascal@24072 | 19 current_version() |
pascal@24072 | 20 { |
pascal@24072 | 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 22 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 23 } |
pascal@24072 | 24 |
gokhlayeh@6993 | 25 # Rules to configure and make the package. |
gokhlayeh@6993 | 26 compile_rules() |
gokhlayeh@6993 | 27 { |
Hans-G?nter@22198 | 28 ./configure \ |
Hans-G?nter@22198 | 29 --sysconfdir=/etc \ |
Hans-G?nter@22198 | 30 --localstatedir=/var \ |
pankso@12503 | 31 $CONFIGURE_ARGS && |
al@14604 | 32 make && |
al@14604 | 33 make install |
gokhlayeh@6993 | 34 } |
gokhlayeh@6993 | 35 |
gokhlayeh@6993 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@6993 | 37 genpkg_rules() |
gokhlayeh@6993 | 38 { |
al@14604 | 39 mkdir -p $fs/usr/share/licenses |
al@14604 | 40 |
Hans-G?nter@22198 | 41 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt |
Hans-G?nter@22198 | 42 cp -a $install/* $fs |
gokhlayeh@6993 | 43 } |