wok view xorg-xhost/receipt @ rev 25546
memtest: update menu label
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 19 18:51:26 2023 +0000 (20 months ago) |
parents | 0ebeba6a0f6c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xhost"
4 VERSION="1.0.8"
5 CATEGORY="x-window"
6 SHORT_DESC="Server access control program for X."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="xhost"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/app/$TARBALL"
15 DEPENDS="xorg"
16 BUILD_DEPENDS="xorg-dev"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 }