wok view xorg-xextproto/receipt @ rev 24195
updated perl-datetime-format-w3cdtf (0.07 -> 0.08)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 14:58:36 2021 +0100 (2021-12-31) |
parents | a87f0d6e3db3 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xextproto"
4 VERSION="7.3.0"
5 CATEGORY="development"
6 SHORT_DESC="XExt extension headers."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="xextproto"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/proto/$TARBALL"
15 DEPENDS="pkg-config xorg-util-macros"
16 BUILD_DEPENDS="xorg-util-macros"
18 HOST_ARCH="i486 arm"
20 current_version()
21 {
22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --sysconfdir=/etc \
31 --localstatedir=/var \
32 $CONFIGURE_ARGS &&
33 make -j1 &&
34 make install -j1
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share/licenses
42 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
43 cp -a $install/* $fs
45 rm -rf $fs/usr/share/doc
46 }