wok annotate xorg-libXres/receipt @ rev 25376

updated tzdata (2019c -> 2022a)
author Hans-G?nter Theisgen
date Sat Jul 30 10:43:02 2022 +0100 (2022-07-30)
parents dd8465483685
children
rev   line source
pascal@14627 1 # SliTaz package receipt.
pascal@14627 2
pascal@14627 3 PACKAGE="xorg-libXres"
Hans-G?nter@22225 4 VERSION="1.2.0"
pascal@14627 5 CATEGORY="x-window"
pascal@14627 6 SHORT_DESC="Xorg server module."
pascal@14627 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15579 8 LICENSE="MIT"
Hans-G?nter@22225 9 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22225 10
pascal@14627 11 SOURCE="libXres"
pascal@14627 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@14627 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
pascal@14627 14
pascal@14627 15 DEPENDS="xorg-libX11 xorg-libXext"
Hans-G?nter@22225 16 BUILD_DEPENDS="pkg-config xorg-libX11-dev xorg-libXext-dev \
Hans-G?nter@22225 17 xorg-resourceproto xorg-util-macros"
pascal@14627 18
pascal@24072 19 current_version()
pascal@24072 20 {
pascal@24072 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 22 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 23 }
pascal@24072 24
pascal@14627 25 # Rules to configure and make the package.
pascal@14627 26 compile_rules()
pascal@14627 27 {
Hans-G?nter@22225 28 ./configure \
Hans-G?nter@22225 29 --sysconfdir=/etc \
Hans-G?nter@22225 30 --mandir=/usr/share/man \
Hans-G?nter@22225 31 --localstatedir=/var \
pascal@14627 32 $CONFIGURE_ARGS &&
Hans-G?nter@22225 33 make &&
Hans-G?nter@22225 34 make install
pascal@14627 35 }
pascal@14627 36
pascal@14627 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14627 38 genpkg_rules()
pascal@14627 39 {
pascal@14627 40 mkdir -p $fs/usr/lib
pascal@14627 41 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14627 42 }