wok-current view xorg-libXp/receipt @ rev 24688
updated jhead (3.04 -> 3.06.0.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 12 13:31:56 2022 +0100 (2022-03-12) |
parents | 7dac4105d4b3 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libXp"
4 VERSION="1.0.3"
5 CATEGORY="development"
6 SHORT_DESC="Provides public APIs to allow client applications to render to non-display devices."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="libXp"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
15 DEPENDS="xorg-libXext"
16 BUILD_DEPENDS="xorg-libXext-dev xorg-printproto"
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 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }