wok annotate xorg-setxkbmap/receipt @ rev 25352

created recipe for tesseract-ocr-data
author Hans-G?nter Theisgen
date Tue Jul 26 14:01:02 2022 +0100 (2022-07-26)
parents de6b673f0891
children
rev   line source
pascal@1613 1 # SliTaz package receipt.
pascal@1613 2
pascal@1613 3 PACKAGE="xorg-setxkbmap"
Hans-G?nter@22244 4 VERSION="1.3.2"
pascal@1613 5 CATEGORY="x-window"
pascal@1613 6 SHORT_DESC="Set the keyboard using the X Keyboard Extension."
pascal@1613 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15579 8 LICENSE="MIT"
Hans-G?nter@22244 9 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22244 10
pascal@1613 11 SOURCE="setxkbmap"
gokhlayeh@6993 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@1613 13 WGET_URL="$XORG_MIRROR/app/$TARBALL"
pascal@1613 14
pankso@12521 15 DEPENDS="xorg-xkeyboard-config"
pankso@12521 16
Hans-G?nter@22244 17 HOST_ARCH="i486 arm"
Hans-G?nter@22244 18
pascal@24072 19 current_version()
pascal@24072 20 {
pascal@24072 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 22 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 23 }
pascal@24072 24
pascal@1613 25 # Rules to configure and make the package.
pascal@1613 26 compile_rules()
pascal@1613 27 {
Hans-G?nter@22244 28 ./configure \
Hans-G?nter@22244 29 --sysconfdir=/etc \
Hans-G?nter@22244 30 --mandir=/usr/share/man \
Hans-G?nter@22244 31 --localstatedir=/var \
pankso@12521 32 $CONFIGURE_ARGS &&
Hans-G?nter@22244 33 make &&
Hans-G?nter@22244 34 make install
pascal@1613 35 }
pascal@1613 36
pascal@1613 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1613 38 genpkg_rules()
pascal@1613 39 {
pankso@12521 40 mkdir -p $fs/usr
pankso@12521 41 cp -a $install/usr/bin $fs/usr
pascal@1613 42 }