wok-current view xorg-renderproto/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 5d79829fa876 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-renderproto"
4 VERSION="0.11.1"
5 CATEGORY="development"
6 SHORT_DESC="Render extension headers"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://www.x.org/"
10 SOURCE="renderproto"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WGET_URL="$XORG_MIRROR/proto/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="xorg-xproto pkg-config"
16 BUILD_DEPENDS="xorg-util-macros"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --sysconfdir=/etc \
29 --localstatedir=/var \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share/licenses
39 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
41 cp -a $install/* $fs
42 rm -rf $fs/usr/share/doc
44 # Ensure remove .la files
45 find $fs -name "*.la" -delete
46 }