wok-6.x view xorg-xf86dgaproto/receipt @ rev 25432
motion: adapted configuration parameters to version 4.4.0
author | Hans-G?nter Theisgen |
---|---|
date | Sun Aug 21 17:07:48 2022 +0100 (24 months ago) |
parents | 814c58f64f83 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86dgaproto"
4 VERSION="2.1"
5 CATEGORY="development"
6 SHORT_DESC="XF86DGA extension headers"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://www.x.org/"
10 SOURCE="xf86dgaproto"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WGET_URL="$XORG_MIRROR/proto/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="xorg-util-macros pkg-config"
16 # /usr/include/X11/extensions/xf86dga.h: #include <X11/extensions/Xxf86dga.h> ?
17 BUILD_DEPENDS="xorg-util-macros"
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
40 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
42 cp -a $install/* $fs
43 }