wok view rocrail/receipt @ rev 9174
rocrail: needs -j1
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 08 18:33:41 2011 +0100 (2011-03-08) |
parents | 92b0afb93fbe |
children | e9a57133022f |
line source
1 # SliTaz package receipt.
3 PACKAGE="rocrail"
4 VERSION="1.2.6"
5 CATEGORY="games"
6 SHORT_DESC="A model railroad control system."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="menu-railroad glibc-base gcc-lib-base util-linux-ng-uuid zlib expat \
9 glib libgio wxWidgets gtk+ fontconfig freetype atk jpeg tiff libpng \
10 cairo pango pixman libxcb xcb-util \
11 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \
12 xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext \
13 xorg-libXfixes xorg-libXinerama xorg-libXrender xorg-libXxf86vm"
14 BUILD_DEPENDS="slitaz-toolchain wxWidgets-dev xorg-libXxf86vm"
15 TARBALL="Rocrail-Act-$VERSION.tar.gz"
16 WEB_SITE="http://rocrail.net/"
17 WGET_URL="http://launchpad.net/$PACKAGE/$PACKAGE-act/1.2/+download/$TARBALL"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 mv Rocrail-Act-1.2 $src
23 rm -r -f $src/.bzr $src/.settings
25 # Apply the make updates v9 backported to rocrail 1.2.6
26 tar xzf stuff/rocrail-make-v9bp.tgz
27 cp -a rocrail/* $src
28 rm -r -f rocrail
30 cd $src
31 make -j1 TOOLPREFIX=$TOOLPREFIX &&
32 make -j1 DESTDIR=$src/_pkg PREFIX=/usr install &&
33 sed -e 's|^Categories=[^$]*$|Categories=Application;Railroad;|g' -i $src/_pkg/usr/share/applications/*.desktop
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs
40 cp -a $_pkg/usr $fs
41 rm -r -f $fs/usr/share/desktop-directories
42 rm -r -f $fs/usr/share/info
43 }