wok-current view xorg-util-macros/receipt @ rev 25362
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 07:24:59 2022 +0000 (2022-07-28) |
parents | 2d4bdef5c3b9 |
children | a23978bfa665 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-util-macros"
4 VERSION="1.19.2"
5 CATEGORY="development"
6 SHORT_DESC="A set of autoconf project macros for X.Org modules."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="util-macros"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/util/$TARBALL"
15 DEPENDS="m4"
17 HOST_ARCH="i486 arm x86_64"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --sysconfdir=/etc \
30 --localstatedir=/var \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share/licenses
41 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
42 cp -a $install/* $fs
43 }