wok-6.x view xorg-fontcacheproto/receipt @ rev 25053
Up advancecomp (2.3), foomatic-db (4.0-20220223), sagan-rules (2.0.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 05 19:53:43 2022 +0000 (2022-06-05) |
parents | 814c58f64f83 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-fontcacheproto"
4 VERSION="0.1.3"
5 CATEGORY="development"
6 SHORT_DESC="Fontcache extension headers"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://www.x.org/"
10 SOURCE="fontcacheproto"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WGET_URL="$XORG_MIRROR/proto/$TARBALL"
14 DEPENDS="xorg-util-macros xorg-libX11-dev pkg-config"
15 BUILD_DEPENDS="xorg-util-macros"
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --sysconfdir=/etc \
28 --localstatedir=/var \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share/licenses
38 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
40 cp -a $install/* $fs
41 }