wok-4.x rev 10677
rocrail: fix $stuff and clean-up
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 27 11:25:55 2011 +0200 (2011-05-27) |
parents | 0e195fd8f8d1 |
children | 548289ed8634 |
files | rocrail/receipt |
line diff
1.1 --- a/rocrail/receipt Fri May 27 05:07:09 2011 +0000 1.2 +++ b/rocrail/receipt Fri May 27 11:25:55 2011 +0200 1.3 @@ -5,17 +5,18 @@ 1.4 CATEGORY="games" 1.5 SHORT_DESC="A model railroad control system." 1.6 MAINTAINER="rcx@zoominternet.net" 1.7 -DEPENDS="menu-railroad glibc-base gcc-lib-base util-linux-ng-uuid zlib expat \ 1.8 -glib libgio wxWidgets gtk+ fontconfig freetype atk jpeg tiff libpng \ 1.9 -cairo pango pixman libxcb xcb-util \ 1.10 -xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \ 1.11 -xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext \ 1.12 -xorg-libXfixes xorg-libXinerama xorg-libXrender xorg-libXxf86vm" 1.13 -BUILD_DEPENDS="slitaz-toolchain wxWidgets-dev xorg-libXxf86vm" 1.14 TARBALL="Rocrail-Act-$VERSION.tar.gz" 1.15 WEB_SITE="http://rocrail.net/" 1.16 WGET_URL="http://launchpad.net/$PACKAGE/$PACKAGE-act/1.2/+download/$TARBALL" 1.17 1.18 +DEPENDS="menu-railroad util-linux-ng-uuid zlib expat glib libgio wxWidgets \ 1.19 +gtk+ fontconfig freetype atk jpeg tiff libpng cairo pango pixman libxcb \ 1.20 +xcb-util xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \ 1.21 +xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \ 1.22 +xorg-libXinerama xorg-libXrender xorg-libXxf86vm" 1.23 +BUILD_DEPENDS="slitaz-toolchain wxWidgets-dev xorg-libXxf86vm-dev gtk+-dev \ 1.24 +util-linux-ng-uuid-dev" 1.25 + 1.26 # Rules to configure and make the package. 1.27 compile_rules() 1.28 { 1.29 @@ -23,14 +24,14 @@ 1.30 rm -r -f $src/.bzr $src/.settings 1.31 1.32 # Apply the make updates v9 backported to rocrail 1.2.6 1.33 - tar xzf stuff/rocrail-make-v9bp.tgz 1.34 - cp -a rocrail/* $src 1.35 - rm -r -f rocrail 1.36 + tar xzf $stuff/rocrail-make-v9bp.tgz 1.37 + cp -a rocrail/* $src && rm -rf rocrail 1.38 1.39 cd $src 1.40 make -j1 TOOLPREFIX=$TOOLPREFIX && 1.41 - make -j1 DESTDIR=$src/_pkg PREFIX=/usr install && 1.42 - sed -e 's|^Categories=[^$]*$|Categories=Application;Railroad;|g' -i $src/_pkg/usr/share/applications/*.desktop 1.43 + make -j1 DESTDIR=$DESTDIR PREFIX=/usr install && 1.44 + sed -i 's|^Categories=[^$]*$|Categories=Application;Railroad;|g' \ 1.45 + $DESTDIR/usr/share/applications/*.desktop 1.46 } 1.47 1.48 # Rules to gen a SliTaz package suitable for Tazpkg.