wok-6.x view xorg-presentproto/receipt @ rev 24611
updated libgd and libgd-dev (2.0.35 -> 2.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 04 09:32:37 2022 +0100 (2022-03-04) |
parents | 1335e1bdc222 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-presentproto"
4 VERSION="1.1"
5 CATEGORY="development"
6 SHORT_DESC="Present extension headers."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="presentproto"
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 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 cp -a $install/* $fs
39 rm -rf $fs/usr/share
40 }