wok-current view xorg-libXxf86dga/receipt @ rev 25474

openjdk-6-src: use find from findutils in place of busybox find
author Hans-G?nter Theisgen
date Thu Oct 13 16:42:57 2022 +0100 (2022-10-13)
parents 9bec17b2e07c
children 5926178cd6fa
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXxf86dga"
4 VERSION="1.1.5"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server module."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="libXxf86dga"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
15 DEPENDS=""
16 BUILD_DEPENDS="pkg-config xorg-libX11-dev xorg-libXext-dev
17 xorg-util-macros xorg-xf86dgaproto xorg-xproto"
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 --mandir=/usr/share/man \
31 --localstatedir=/var \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }