wok annotate xorg-libXdmcp/receipt @ rev 25097

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 18 20:27:19 2022 +0000 (23 months ago)
parents ef4e498511e1
children
rev   line source
pankso@20 1 # SliTaz package receipt.
pankso@20 2
pankso@20 3 PACKAGE="xorg-libXdmcp"
Hans-G?nter@22212 4 VERSION="1.1.3"
pankso@20 5 CATEGORY="x-window"
Hans-G?nter@22212 6 SHORT_DESC="X Display Manager Control Protocol library."
pankso@20 7 MAINTAINER="pankso@slitaz.org"
al@14604 8 LICENSE="other"
Hans-G?nter@22212 9 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22212 10
slaxemulator@14639 11 SOURCE="libXdmcp"
slaxemulator@14639 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
pankso@20 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
pankso@20 14
al@14604 15 DEPENDS="glibc-base"
al@14604 16 BUILD_DEPENDS="xorg-xproto"
pankso@12517 17
Hans-G?nter@22212 18 HOST_ARCH="i486 arm"
Hans-G?nter@22212 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
pankso@20 26 # Rules to configure and make the package.
pankso@20 27 compile_rules()
pankso@20 28 {
Hans-G?nter@22212 29 ./configure \
Hans-G?nter@22212 30 --sysconfdir=/etc \
Hans-G?nter@22212 31 --localstatedir=/var \
Hans-G?nter@22212 32 --disable-static \
al@14604 33 $CONFIGURE_ARGS &&
al@14604 34 make &&
al@14604 35 make install
pankso@20 36 }
pankso@20 37
pankso@20 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@20 39 genpkg_rules()
pankso@20 40 {
Hans-G?nter@22212 41 mkdir -p $fs/usr/share/licenses
Hans-G?nter@22212 42 mkdir -p $fs/usr/lib
Hans-G?nter@22212 43
al@17925 44 install -m644 -oroot -groot $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
pankso@12517 45 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@20 46 }