wok-next annotate airoscript-ng/receipt @ rev 14640
Xorg. xorg-libXt: add glib-dev as bdeps; xorg-libXpm: reformat, move binaries to xorg-libXpm-util new package; xorg-libXaw: up 1.0.11.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jun 02 16:41:49 2013 +0000 (2013-06-02) |
parents | be13f25e790b |
children | f4c22f009037 |
rev | line source |
---|---|
slaxemulator@7524 | 1 # SliTaz package receipt. |
slaxemulator@7524 | 2 |
slaxemulator@7524 | 3 PACKAGE="airoscript-ng" |
slaxemulator@13168 | 4 VERSION="1.2rc3" |
slaxemulator@7524 | 5 CATEGORY="network" |
slaxemulator@7524 | 6 SHORT_DESC="Airoscript ng" |
slaxemulator@7524 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7524 | 8 DEPENDS="bash" |
slaxemulator@13168 | 9 TARBALL="$PACKAGE-${VERSION%rc3}-3.tar.gz" |
slaxemulator@7524 | 10 WEB_SITE="http://code.google.com/p/airoscript/" |
slaxemulator@7524 | 11 WGET_URL="http://airoscript.googlecode.com/files/$TARBALL" |
slaxemulator@7524 | 12 |
slaxemulator@7524 | 13 # Rules to configure and make the package. |
slaxemulator@7524 | 14 compile_rules() |
slaxemulator@7524 | 15 { |
slaxemulator@7524 | 16 cd $src |
slaxemulator@13168 | 17 # Remove broken install parts |
slaxemulator@13168 | 18 sed -i '/install-docs \\/ d' Makefile-Linux |
slaxemulator@13168 | 19 sed -i '/install-locale \\/ d' Makefile-Linux |
slaxemulator@13168 | 20 sed -i '/install-desktop \\/ d' Makefile-Linux |
slaxemulator@13168 | 21 make -j1 DESTDIR=$DESTDIR \ |
slaxemulator@13168 | 22 prefix=usr \ |
slaxemulator@13168 | 23 picdir=$DESTDIR/usr/share/pixmaps/ \ |
slaxemulator@13168 | 24 appdir=$DESTDIR/usr/share/applications/ \ |
slaxemulator@13168 | 25 etcdir=$DESTDIR/etc/$PACKAGE install |
slaxemulator@13168 | 26 # Patch config - replace "usr/local" by "usr" |
slaxemulator@13168 | 27 sed -i 's/usr\/local/usr/g' $DESTDIR/etc/$PACKAGE/airoscript-ng_advanced.conf |
slaxemulator@13168 | 28 |
slaxemulator@13168 | 29 # Patch executable to find config files |
slaxemulator@13168 | 30 sed -i 's/etc\//etc\/airoscript-ng\//g' $DESTDIR/usr/sbin/$PACKAGE |
slaxemulator@7524 | 31 } |
slaxemulator@7524 | 32 |
slaxemulator@7524 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7524 | 34 genpkg_rules() |
slaxemulator@7524 | 35 { |
slaxemulator@7524 | 36 mkdir -p $fs/usr/share |
slaxemulator@7524 | 37 cp -a $_pkg/usr/sbin $fs/usr |
slaxemulator@7524 | 38 cp -a $_pkg/usr/share/airoscript-ng $fs/usr/share |
slaxemulator@13168 | 39 cp -a $_pkg/etc $fs |
slaxemulator@7524 | 40 } |
slaxemulator@7524 | 41 |