wok annotate rocrail/receipt @ rev 5406
Up: mtpaint (3.31) - Added bzip2 and acl to build depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 02 23:15:57 2010 +0000 (2010-05-02) |
parents | 0588160a6878 |
children | 2ba9af518eaa |
rev | line source |
---|---|
rcx@3928 | 1 # SliTaz package receipt. |
rcx@3928 | 2 |
rcx@3928 | 3 PACKAGE="rocrail" |
rcx@3928 | 4 VERSION="1.2.6" |
rcx@3928 | 5 CATEGORY="games" |
rcx@3928 | 6 SHORT_DESC="A model railroad control system." |
rcx@3928 | 7 MAINTAINER="rcx@zoominternet.net" |
pankso@4052 | 8 DEPENDS="menu-railroad glibc-base gcc-lib-base util-linux-ng-uuid zlib expat \ |
rcx@3928 | 9 glib libgio wxWidgets gtk+ fontconfig freetype atk jpeg tiff libpng \ |
rcx@3928 | 10 cairo pango pixman libxcb xcb-util \ |
rcx@3928 | 11 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \ |
rcx@3928 | 12 xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext \ |
rcx@3928 | 13 xorg-libXfixes xorg-libXinerama xorg-libXrender xorg-libXxf86vm" |
rcx@4482 | 14 BUILD_DEPENDS="slitaz-toolchain wxWidgets-dev xorg-libXxf86vm" |
rcx@3928 | 15 TARBALL="Rocrail-Act-$VERSION.tar.gz" |
rcx@3928 | 16 WEB_SITE="http://rocrail.net/" |
rcx@3928 | 17 WGET_URL="http://launchpad.net/$PACKAGE/$PACKAGE-act/1.2/+download/$TARBALL" |
rcx@3928 | 18 |
rcx@3928 | 19 # Rules to configure and make the package. |
rcx@3928 | 20 compile_rules() |
rcx@3928 | 21 { |
rcx@3928 | 22 mv Rocrail-Act-1.2 $src |
rcx@3928 | 23 rm -r -f $src/.bzr $src/.settings |
rcx@3928 | 24 |
rcx@3928 | 25 # Apply the make updates v9 backported to rocrail 1.2.6 |
rcx@3928 | 26 tar xzf stuff/rocrail-make-v9bp.tgz |
rcx@3928 | 27 cp -a rocrail/* $src |
rcx@3928 | 28 rm -r -f rocrail |
rcx@3928 | 29 |
rcx@3928 | 30 cd $src |
rcx@3950 | 31 make TOOLPREFIX=$TOOLPREFIX && |
rcx@3928 | 32 make DESTDIR=$src/_pkg PREFIX=/usr install && |
rcx@3928 | 33 sed -e 's|^Categories=[^$]*$|Categories=Application;Railroad;|g' -i $src/_pkg/usr/share/applications/*.desktop |
rcx@3928 | 34 } |
rcx@3928 | 35 |
rcx@3928 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3928 | 37 genpkg_rules() |
rcx@3928 | 38 { |
rcx@3928 | 39 mkdir -p $fs |
rcx@3928 | 40 cp -a $_pkg/usr $fs |
rcx@3928 | 41 rm -r -f $fs/usr/share/desktop-directories |
rcx@3928 | 42 rm -r -f $fs/usr/share/info |
rcx@3928 | 43 } |