wok diff xtrkcad/receipt @ rev 22387

Add tinyssh-keyconvert
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 28 19:02:16 2019 +0100 (2019-11-28)
parents e6a4cd87fdcb
children ad86373a4a8c
line diff
     1.1 --- a/xtrkcad/receipt	Sat Oct 05 18:31:33 2019 +0200
     1.2 +++ b/xtrkcad/receipt	Thu Nov 28 19:02:16 2019 +0100
     1.3 @@ -1,25 +1,25 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xtrkcad"
     1.7 -VERSION="4.0.3a1"
     1.8 +VERSION="5.1.2a"
     1.9  CATEGORY="games"
    1.10  SHORT_DESC="A CAD program for designing model railroad layouts."
    1.11  MAINTAINER="rcx@zoominternet.net"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="http://www.xtrkcad.org/"
    1.14 +
    1.15  TARBALL="$PACKAGE-source-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://www.xtrkcad.org/"
    1.17 -#WGET_URL="$SF_MIRROR/$PACKAGE-fork/$TARBALL"
    1.18 -WGET_URL="http://users.zoominternet.net/~rcx/$TARBALL"
    1.19 +WGET_URL="$SF_MIRROR/$PACKAGE-fork/$TARBALL"
    1.20 +#WGET_URL="http://users.zoominternet.net/~rcx/$TARBALL"
    1.21  
    1.22 -DEPENDS="menu-railroad glibc-base glib libgio zlib expat libxml2 gtk+ \
    1.23 -libgtkhtml fontconfig freetype atk cairo libpng pango pixman libxcb \
    1.24 -xcb-util xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor \
    1.25 -xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \
    1.26 -xorg-libXinerama xorg-libXrender"
    1.27 -BUILD_DEPENDS="cmake pkg-config gettext zlib-dev \
    1.28 -gtk+-dev libxml2-dev libgtkhtml-dev libgtkhtml doxygen xorg-xproto \
    1.29 -xorg-renderproto xorg-libX11-dev xorg-kbproto xorg-libXau-dev \
    1.30 -xorg-libXdmcp-dev"
    1.31 +DEPENDS="atk cairo expat fontconfig freetype glib glibc-base gtk+ 
    1.32 +	libgio libgtkhtml libpng libxcb libxml2 menu-railroad pango pixman 
    1.33 +	xcb-util xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor 
    1.34 +	xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes 
    1.35 +	xorg-libXinerama xorg-libXrender zlib"
    1.36 +BUILD_DEPENDS="cmake doxygen gettext gtk+-dev libgtkhtml-dev libxml2-dev 
    1.37 +	pkg-config xorg-kbproto xorg-libX11-dev xorg-libXau-dev 
    1.38 +	xorg-libXdmcp-dev xorg-renderproto xorg-xproto zlib-dev"
    1.39  
    1.40  # Rules to configure and make the package.
    1.41  compile_rules()
    1.42 @@ -30,14 +30,19 @@
    1.43  	XTRKCAD_STUFF=$stuff
    1.44  	
    1.45  	sed -e 's|share/xtrkcad/locale|share/locale|g' -i CMakeLists.txt &&
    1.46 -	cmake -D CMAKE_C_COMPILER:FILEPATH=${TOOLPREFIX}gcc \
    1.47 -		-D CMAKE_CXX_COMPILER:FILEPATH=${TOOLPREFIX}c++ \
    1.48 -		-D CMAKE_INSTALL_PREFIX=/usr \
    1.49 -		-D XTRKCAD_USE_GTK=ON -D XTRKCAD_USE_GTK_CAIRO=ON . &&
    1.50 +
    1.51 +	cmake	.						\
    1.52 +		-D CMAKE_C_COMPILER:FILEPATH=${TOOLPREFIX}gcc	\
    1.53 +		-D CMAKE_CXX_COMPILER:FILEPATH=${TOOLPREFIX}c++	\
    1.54 +		-D CMAKE_INSTALL_PREFIX=/usr			\
    1.55 +		-D XTRKCAD_USE_GTK=ON				\
    1.56 +		-D XTRKCAD_USE_GTK_CAIRO=ON &&
    1.57  	make PREFIX=/usr &&
    1.58  	make DESTDIR=$DESTDIR install &&
    1.59 +
    1.60  	mkdir -p $DESTDIR/usr/share/pixmaps &&
    1.61  	cp -f $XTRKCAD_STUFF/$PACKAGE.png $DESTDIR/usr/share/pixmaps &&
    1.62 +
    1.63  	mkdir -p $DESTDIR/usr/share/applications &&
    1.64  	cp -f $XTRKCAD_STUFF/$PACKAGE.desktop $DESTDIR/usr/share/applications &&
    1.65  	sed -e 's|^Categories=[^$]*$|Categories=Application;Railroad;|g' -i $DESTDIR/usr/share/applications/*.desktop
    1.66 @@ -47,13 +52,12 @@
    1.67  genpkg_rules()
    1.68  {
    1.69  	mkdir -p $fs/usr/share/$PACKAGE
    1.70 -	cp -f $install/usr/share/$PACKAGE/$PACKAGE.tip $fs/usr/share/$PACKAGE
    1.71 -	cp -f $install/usr/share/$PACKAGE/$PACKAGE.xtq $fs/usr/share/$PACKAGE
    1.72 -	cp -f $install/usr/share/$PACKAGE/logo.bmp $fs/usr/share/$PACKAGE
    1.73 -	cp -a $install/usr/share/$PACKAGE/params $fs/usr/share/$PACKAGE
    1.74 -	
    1.75 -	cp -a $install/usr/share/applications $fs/usr/share
    1.76 -	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.77  
    1.78 -	cp -a $install/usr/bin $fs/usr
    1.79 +	cp -f $install/usr/share/$PACKAGE/$PACKAGE.tip	$fs/usr/share/$PACKAGE
    1.80 +	cp -f $install/usr/share/$PACKAGE/$PACKAGE.xtq	$fs/usr/share/$PACKAGE
    1.81 +	cp -f $install/usr/share/$PACKAGE/logo.bmp	$fs/usr/share/$PACKAGE
    1.82 +	cp -a $install/usr/share/$PACKAGE/params	$fs/usr/share/$PACKAGE
    1.83 +	cp -a $install/usr/share/applications		$fs/usr/share
    1.84 +	cp -a $install/usr/share/pixmaps		$fs/usr/share
    1.85 +	cp -a $install/usr/bin				$fs/usr
    1.86  }