wok view xorg-xauth/receipt @ rev 25161

created recipe for py3k-pillow
author Hans-G?nter Theisgen
date Fri Jul 01 10:04:47 2022 +0100 (2022-07-01)
parents f0284bf3f6d4
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xauth"
4 VERSION="1.1"
5 CATEGORY="x-window"
6 SHORT_DESC="X authority file utility."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="xauth"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/app/$TARBALL"
15 DEPENDS="xorg-libXmu"
16 BUILD_DEPENDS="xorg-libXmu-dev"
18 HOST_ARCH="i486 arm"
20 case "$ARCH" in
21 arm) BUILD_DEPENDS="xorg-xproto xorg-libXau-dev" ;;
22 esac
24 current_version()
25 {
26 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
27 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 ./configure \
34 --mandir=/usr/share/man \
35 $CONFIGURE_ARGS &&
36 make &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/X11R6
45 cp -a $install/usr/bin $fs/usr
46 ln -s ../bin $fs/usr/X11R6/bin
47 }