wok view airoscript-ng/receipt @ rev 13277

Add X keyboard name aliases in kbd-base (Bug 19)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 23 10:14:12 2012 +0200 (2012-08-23)
parents be13f25e790b
children f4c22f009037
line source
1 # SliTaz package receipt.
3 PACKAGE="airoscript-ng"
4 VERSION="1.2rc3"
5 CATEGORY="network"
6 SHORT_DESC="Airoscript ng"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="bash"
9 TARBALL="$PACKAGE-${VERSION%rc3}-3.tar.gz"
10 WEB_SITE="http://code.google.com/p/airoscript/"
11 WGET_URL="http://airoscript.googlecode.com/files/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 # Remove broken install parts
18 sed -i '/install-docs \\/ d' Makefile-Linux
19 sed -i '/install-locale \\/ d' Makefile-Linux
20 sed -i '/install-desktop \\/ d' Makefile-Linux
21 make -j1 DESTDIR=$DESTDIR \
22 prefix=usr \
23 picdir=$DESTDIR/usr/share/pixmaps/ \
24 appdir=$DESTDIR/usr/share/applications/ \
25 etcdir=$DESTDIR/etc/$PACKAGE install
26 # Patch config - replace "usr/local" by "usr"
27 sed -i 's/usr\/local/usr/g' $DESTDIR/etc/$PACKAGE/airoscript-ng_advanced.conf
29 # Patch executable to find config files
30 sed -i 's/etc\//etc\/airoscript-ng\//g' $DESTDIR/usr/sbin/$PACKAGE
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
37 cp -a $_pkg/usr/sbin $fs/usr
38 cp -a $_pkg/usr/share/airoscript-ng $fs/usr/share
39 cp -a $_pkg/etc $fs
40 }