wok annotate xorg-fontsproto/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents f6aa37efdd25
children
rev   line source
pankso@87 1 # SliTaz package receipt.
pankso@87 2
pankso@87 3 PACKAGE="xorg-fontsproto"
Hans-G?nter@22188 4 VERSION="2.1.3"
pankso@200 5 CATEGORY="development"
Hans-G?nter@22188 6 SHORT_DESC="Fonts extension headers."
pankso@87 7 MAINTAINER="pankso@slitaz.org"
al@14604 8 LICENSE="other"
pascal@20423 9 WEB_SITE="https://www.x.org/"
Hans-G?nter@22188 10
slaxemulator@14639 11 SOURCE="fontsproto"
slaxemulator@14639 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
al@14604 13 WGET_URL="$XORG_MIRROR/proto/$TARBALL"
Hans-G?nter@22188 14
Hans-G?nter@22188 15 DEPENDS="pkg-config xorg-xproto"
Hans-G?nter@22188 16 BUILD_DEPENDS="xorg-util-macros"
Hans-G?nter@22188 17
pankso@16021 18 HOST_ARCH="i486 arm"
al@14604 19
pascal@24072 20 current_version()
pascal@24072 21 {
pascal@24072 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 24 }
pascal@24072 25
pankso@87 26 # Rules to configure and make the package.
pankso@87 27 compile_rules()
pankso@87 28 {
Hans-G?nter@22188 29 ./configure \
Hans-G?nter@22188 30 --sysconfdir=/etc \
Hans-G?nter@22188 31 --localstatedir=/var \
pankso@12502 32 $CONFIGURE_ARGS &&
al@14604 33 make &&
al@14604 34 make install
pankso@87 35 }
pankso@87 36
pankso@87 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@87 38 genpkg_rules()
pankso@87 39 {
al@14604 40 mkdir -p $fs/usr/share/licenses
al@14604 41
Hans-G?nter@22188 42 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
Hans-G?nter@22188 43 cp -a $install/* $fs
Hans-G?nter@22188 44
al@14604 45 rm -rf $fs/usr/share/doc
pankso@87 46 }