wok-6.x view xorg-libX11/receipt @ rev 25544

merkaartor: include localised messages in package
author Hans-G?nter Theisgen
date Sun Mar 12 15:58:49 2023 +0100 (21 months ago)
parents 5dfd8f09a37f
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-libX11"
4 VERSION="1.7.0"
5 CATEGORY="x-window"
6 SHORT_DESC="X Library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://www.x.org/wiki/"
11 SOURCE="libX11"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
15 DEPENDS="libxcb xorg-libXau xorg-libXdmcp"
16 BUILD_DEPENDS="libxcb-dev xorg-inputproto xorg-kbproto xorg-libXau-dev
17 xorg-libXdmcp-dev xorg-xextproto xorg-xf86bigfontproto xorg-xtrans"
19 HOST_ARCH="i486 arm"
21 current_version()
22 {
23 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
24 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --sysconfdir=/etc \
32 --localstatedir=/var \
33 --disable-static \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 mkdir -p $fs/usr/share/X11/locale
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 cp -a $install/usr/share/X11/X* $fs/usr/share/X11
48 # X11 locale; other moved to locale packs
49 for i in C en_US.UTF-8 compose.dir locale.alias locale.dir
50 do
51 cp -a $install/usr/share/X11/locale/$i $fs/usr/share/X11/locale
52 done
53 }