wok annotate xorg-libX11/receipt @ rev 25513

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