wok-current annotate xorg-iceauth/receipt @ rev 24145

ventoy: set arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 17 10:14:59 2021 +0000 (2021-11-17)
parents 6aab4c6721ad
children 5926178cd6fa
rev   line source
erjo@2060 1 # SliTaz package receipt.
erjo@2060 2
erjo@2060 3 PACKAGE="xorg-iceauth"
Hans-G?nter@22191 4 VERSION="1.0.8"
erjo@2060 5 CATEGORY="x-window"
Hans-G?nter@22191 6 SHORT_DESC="ICE authority file utility."
erjo@2060 7 MAINTAINER="erjo@slitaz.org"
pascal@15579 8 LICENSE="MIT"
Hans-G?nter@22191 9 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22191 10
erjo@2060 11 SOURCE="iceauth"
erjo@2060 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
Hans-G?nter@22191 13 WGET_URL="https://xorg.freedesktop.org/archive/individual/app/$TARBALL"
erjo@2060 14
pascal@15579 15 DEPENDS="xorg-libICE"
Hans-G?nter@22191 16 BUILD_DEPENDS="pkg-config xorg-libICE-dev"
pascal@15579 17
pascal@24072 18 current_version()
pascal@24072 19 {
pascal@24072 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 22 }
pascal@24072 23
erjo@2060 24 # Rules to configure and make the package.
erjo@2060 25 compile_rules()
erjo@2060 26 {
Hans-G?nter@22191 27 ./configure \
Hans-G?nter@22191 28 --prefix=/usr \
Hans-G?nter@22191 29 --infodir=/usr/share/info \
Hans-G?nter@22191 30 --mandir=/usr/share/man \
Hans-G?nter@22191 31 $CONFIGURE_ARGS &&
Hans-G?nter@22191 32 make &&
Hans-G?nter@22191 33 make DESTDIR=$DESTDIR install
erjo@2060 34 }
erjo@2060 35
erjo@2060 36 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2060 37 genpkg_rules()
erjo@2060 38 {
erjo@2060 39 mkdir -p $fs/usr
pascal@15579 40 cp -a $install/usr/bin $fs/usr
erjo@2060 41 }