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