wok-6.x view airoscript-ng/receipt @ rev 17615
Fix: gpick build
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Thu Feb 12 20:33:54 2015 +0000 (2015-02-12) |
parents | 01a07ddd852f |
children | 45507bfb2b0d |
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 LICENSE="GPL2"
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 DEPENDS="bash"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 # Remove broken install parts
20 sed -i '/install-docs \\/ d' Makefile-Linux
21 sed -i '/install-locale \\/ d' Makefile-Linux
22 sed -i '/install-desktop \\/ d' Makefile-Linux
23 make -j1 DESTDIR=$DESTDIR \
24 prefix=usr \
25 picdir=$DESTDIR/usr/share/pixmaps/ \
26 appdir=$DESTDIR/usr/share/applications/ \
27 etcdir=$DESTDIR/etc/$PACKAGE install
28 # Patch config - replace "usr/local" by "usr"
29 sed -i 's/usr\/local/usr/g' $DESTDIR/etc/$PACKAGE/airoscript-ng_advanced.conf
31 # Patch executable to find config files
32 sed -i 's/etc\//etc\/airoscript-ng\//g' $DESTDIR/usr/sbin/$PACKAGE
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
39 cp -a $install/usr/sbin $fs/usr
40 cp -a $install/usr/share/airoscript-ng $fs/usr/share
41 cp -a $install/etc $fs
42 }