wok annotate xorg-xkbcomp/receipt @ rev 24256
updated perl-test-mockmodule (0.172.0 -> 0.177.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:02:41 2022 +0100 (2022-01-02) |
parents | 5558a074a5e4 |
children |
rev | line source |
---|---|
pankso@451 | 1 # SliTaz package receipt. |
pankso@451 | 2 |
pankso@451 | 3 PACKAGE="xorg-xkbcomp" |
Hans-G?nter@23778 | 4 VERSION="1.4.3" |
pankso@451 | 5 CATEGORY="x-window" |
pankso@451 | 6 SHORT_DESC="Xorg keyboard composite." |
pankso@451 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
Hans-G?nter@22289 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22289 | 10 |
pankso@452 | 11 SOURCE="xkbcomp" |
gokhlayeh@6993 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@451 | 13 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
pankso@451 | 14 |
pascal@15579 | 15 DEPENDS="xorg-libxkbfile" |
pascal@15579 | 16 BUILD_DEPENDS="xorg-libxkbfile-dev" |
pascal@15579 | 17 |
Hans-G?nter@22289 | 18 HOST_ARCH="i486 arm" |
Hans-G?nter@22289 | 19 |
pascal@24072 | 20 current_version() |
pascal@24072 | 21 { |
pascal@24072 | 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 24 } |
pascal@24072 | 25 |
pankso@451 | 26 # Rules to configure and make the package. |
pankso@451 | 27 compile_rules() |
pankso@451 | 28 { |
Hans-G?nter@22289 | 29 ./configure \ |
Hans-G?nter@22289 | 30 --sysconfdir=/etc \ |
Hans-G?nter@22289 | 31 --localstatedir=/var \ |
pankso@16061 | 32 $CONFIGURE_ARGS && |
Hans-G?nter@22289 | 33 make && |
Hans-G?nter@22289 | 34 make install |
pankso@451 | 35 } |
pankso@451 | 36 |
pankso@451 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@451 | 38 genpkg_rules() |
pankso@451 | 39 { |
pankso@451 | 40 mkdir -p $fs/usr |
Hans-G?nter@22289 | 41 cp -a $install/usr/bin $fs/usr |
pankso@451 | 42 } |