wok annotate xorg-libXp/receipt @ rev 24988

Fix perl-gd & tcptrack
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 12 11:01:25 2022 +0000 (2022-05-12)
parents 7dac4105d4b3
children
rev   line source
rcx@3505 1 # SliTaz package receipt.
rcx@3505 2
rcx@3505 3 PACKAGE="xorg-libXp"
Hans-G?nter@22220 4 VERSION="1.0.3"
rcx@3505 5 CATEGORY="development"
rcx@3505 6 SHORT_DESC="Provides public APIs to allow client applications to render to non-display devices."
rcx@3505 7 MAINTAINER="rcx@zoominternet.net"
pascal@15579 8 LICENSE="MIT"
Hans-G?nter@22220 9 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22220 10
slaxemulator@14610 11 SOURCE="libXp"
rcx@3505 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
slaxemulator@14610 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
rcx@3505 14
pascal@14569 15 DEPENDS="xorg-libXext"
pascal@14569 16 BUILD_DEPENDS="xorg-libXext-dev xorg-printproto"
pascal@14569 17
Hans-G?nter@22220 18 HOST_ARCH="i486 arm"
Hans-G?nter@22220 19
pascal@24072 20 current_version()
pascal@24072 21 {
pascal@24072 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 24 }
pascal@24072 25
rcx@3505 26 # Rules to configure and make the package.
rcx@3505 27 compile_rules()
rcx@3505 28 {
Hans-G?nter@22220 29 ./configure \
pankso@16131 30 $CONFIGURE_ARGS &&
Hans-G?nter@22220 31 make &&
Hans-G?nter@22220 32 make install
rcx@3505 33 }
rcx@3505 34
rcx@3505 35 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3505 36 genpkg_rules()
rcx@3505 37 {
rcx@3505 38 mkdir -p $fs/usr/lib
pascal@14569 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
rcx@3505 40 }