wok-6.x annotate xorg-xhost/receipt @ rev 25437

Add wireguard for linux64
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 31 17:31:14 2022 +0000 (2022-08-31)
parents 0ebeba6a0f6c
children
rev   line source
pascal@13739 1 # SliTaz package receipt.
pascal@13739 2
pascal@13739 3 PACKAGE="xorg-xhost"
Hans-G?nter@22286 4 VERSION="1.0.8"
pascal@13739 5 CATEGORY="x-window"
pascal@13739 6 SHORT_DESC="Server access control program for X."
pascal@13739 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15579 8 LICENSE="MIT"
Hans-G?nter@22286 9 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22286 10
pascal@13739 11 SOURCE="xhost"
pascal@13739 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@13739 13 WGET_URL="$XORG_MIRROR/app/$TARBALL"
pascal@13739 14
pascal@13739 15 DEPENDS="xorg"
pascal@13739 16 BUILD_DEPENDS="xorg-dev"
pascal@13739 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
pascal@13739 24 # Rules to configure and make the package.
pascal@13739 25 compile_rules()
pascal@13739 26 {
Hans-G?nter@22286 27 ./configure \
Hans-G?nter@22286 28 --mandir=/usr/share/man \
pascal@13739 29 $CONFIGURE_ARGS &&
Hans-G?nter@22286 30 make &&
Hans-G?nter@22286 31 make install
pascal@13739 32 }
pascal@13739 33
pascal@13739 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13739 35 genpkg_rules()
pascal@13739 36 {
pascal@13739 37 mkdir -p $fs/usr
pascal@13739 38 cp -a $install/usr/bin $fs/usr
pascal@13739 39 }