wok-current view lxinput/receipt @ rev 20370

gnupg: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 10 10:07:44 2018 +0200 (2018-06-10)
parents 8a7737341ffa
children 6e8b1bcb30e2
line source
1 # SliTaz package receipt.
3 PACKAGE="lxinput"
4 VERSION="0.3.4"
5 CATEGORY="x-window"
6 SHORT_DESC="LXDE keyboard and mouse configuration"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://lxde.org"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
12 TAGS="LXDE keyboard mouse"
13 HOST_ARCH="i486 arm"
14 GENERIC_MENUS="no"
16 DEPENDS="gtk+ xorg-xset"
17 BUILD_DEPENDS="gtk+-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/* $fs
31 rm -r $fs/usr/share/locale $fs/usr/share/man
32 rm -r $fs/usr/share/lxinput/*.png
33 sed -i 's|^Icon=.*$|Icon=preferences-desktop-keyboard|' \
34 $fs/usr/share/applications/lxinput.desktop
35 }