wok-undigest view rocrail/receipt @ rev 1223

copied libxext recipe from wok-next
author Hans-G?nter Theisgen
date Fri Nov 15 17:38:29 2019 +0100 (2019-11-15)
parents a9b3597bcd2f
children
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 LICENSE="GPL3"
9 TARBALL="Rocrail-Act-$VERSION.tar.gz"
10 WEB_SITE="http://rocrail.net/"
11 WGET_URL="http://launchpad.net/$PACKAGE/$PACKAGE-act/1.2/+download/$TARBALL"
13 DEPENDS="menu-railroad util-linux-uuid zlib expat glib libgio wxWidgets \
14 gtk+ fontconfig freetype atk jpeg tiff libpng cairo pango pixman libxcb \
15 xcb-util xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \
16 xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \
17 xorg-libXinerama xorg-libXrender xorg-libXxf86vm"
18 BUILD_DEPENDS="slitaz-toolchain wxWidgets-dev xorg-libXxf86vm-dev gtk+-dev \
19 util-linux-uuid-dev coreutils"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 mv Rocrail-Act-1.2 $src
25 rm -r -f $src/.bzr $src/.settings
27 # Apply the make updates v9 backported to rocrail 1.2.6
28 tar xzf $stuff/rocrail-make-v9bp.tgz
29 cp -a rocrail/* $src && rm -rf rocrail
31 cd $src
32 make -j1 TOOLPREFIX=$TOOLPREFIX &&
33 make -j1 DESTDIR=$DESTDIR PREFIX=/usr install &&
34 sed -i 's|^Categories=[^$]*$|Categories=Application;Railroad;|g' \
35 $DESTDIR/usr/share/applications/*.desktop
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs
42 cp -a $_pkg/usr $fs
43 rm -r -f $fs/usr/share/desktop-directories
44 rm -r -f $fs/usr/share/info
45 }