wok-6.x diff xtrkcad/receipt @ rev 16278

Fix: one more skype dependency
author Alexander Medvedev <devl547@gmail.com>
date Sat Apr 05 22:20:47 2014 +0000 (2014-04-05)
parents e2cc0a6e47fe
children 17e313b5b9c1
line diff
     1.1 --- a/xtrkcad/receipt	Mon Apr 30 10:18:35 2012 +0200
     1.2 +++ b/xtrkcad/receipt	Sat Apr 05 22:20:47 2014 +0000
     1.3 @@ -5,6 +5,12 @@
     1.4  CATEGORY="games"
     1.5  SHORT_DESC="A CAD program for designing model railroad layouts."
     1.6  MAINTAINER="rcx@zoominternet.net"
     1.7 +LICENSE="GPL2"
     1.8 +TARBALL="$PACKAGE-source-$VERSION.tar.gz"
     1.9 +WEB_SITE="http://www.xtrkcad.org/"
    1.10 +#WGET_URL="$SF_MIRROR/$PACKAGE-fork/$TARBALL"
    1.11 +WGET_URL="http://users.zoominternet.net/~rcx/$TARBALL"
    1.12 +
    1.13  DEPENDS="menu-railroad glibc-base glib libgio zlib expat libxml2 gtk+ \
    1.14  libgtkhtml fontconfig freetype atk cairo libpng pango pixman libxcb \
    1.15  xcb-util xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor \
    1.16 @@ -14,10 +20,6 @@
    1.17  gtk+-dev libxml2-dev libgtkhtml-dev libgtkhtml doxygen xorg-xproto \
    1.18  xorg-renderproto xorg-libX11-dev xorg-kbproto xorg-libXau-dev \
    1.19  xorg-libXdmcp-dev"
    1.20 -TARBALL="$PACKAGE-source-$VERSION.tar.gz"
    1.21 -WEB_SITE="http://www.xtrkcad.org/"
    1.22 -#WGET_URL="$SF_MIRROR/$PACKAGE-fork/$TARBALL"
    1.23 -WGET_URL="http://users.zoominternet.net/~rcx/$TARBALL"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27 @@ -35,25 +37,25 @@
    1.28  		-D CMAKE_INSTALL_PREFIX=/usr \
    1.29  		-D XTRKCAD_USE_GTK=ON -D XTRKCAD_USE_GTK_CAIRO=ON . &&
    1.30  	make PREFIX=/usr &&
    1.31 -	make DESTDIR=$src/_pkg install &&
    1.32 -	mkdir -p $src/_pkg/usr/share/pixmaps &&
    1.33 -	cp -f $XTRKCAD_STUFF/$PACKAGE.png $src/_pkg/usr/share/pixmaps &&
    1.34 -	mkdir -p $src/_pkg/usr/share/applications &&
    1.35 -	cp -f $XTRKCAD_STUFF/$PACKAGE.desktop $src/_pkg/usr/share/applications &&
    1.36 -	sed -e 's|^Categories=[^$]*$|Categories=Application;Railroad;|g' -i $src/_pkg/usr/share/applications/*.desktop
    1.37 +	make DESTDIR=$DESTDIR install &&
    1.38 +	mkdir -p $DESTDIR/usr/share/pixmaps &&
    1.39 +	cp -f $XTRKCAD_STUFF/$PACKAGE.png $DESTDIR/usr/share/pixmaps &&
    1.40 +	mkdir -p $DESTDIR/usr/share/applications &&
    1.41 +	cp -f $XTRKCAD_STUFF/$PACKAGE.desktop $DESTDIR/usr/share/applications &&
    1.42 +	sed -e 's|^Categories=[^$]*$|Categories=Application;Railroad;|g' -i $DESTDIR/usr/share/applications/*.desktop
    1.43  }
    1.44  
    1.45  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.46  genpkg_rules()
    1.47  {
    1.48  	mkdir -p $fs/usr/share/$PACKAGE
    1.49 -	cp -f $_pkg/usr/share/$PACKAGE/$PACKAGE.tip $fs/usr/share/$PACKAGE
    1.50 -	cp -f $_pkg/usr/share/$PACKAGE/$PACKAGE.xtq $fs/usr/share/$PACKAGE
    1.51 -	cp -f $_pkg/usr/share/$PACKAGE/logo.bmp $fs/usr/share/$PACKAGE
    1.52 -	cp -a $_pkg/usr/share/$PACKAGE/params $fs/usr/share/$PACKAGE
    1.53 +	cp -f $install/usr/share/$PACKAGE/$PACKAGE.tip $fs/usr/share/$PACKAGE
    1.54 +	cp -f $install/usr/share/$PACKAGE/$PACKAGE.xtq $fs/usr/share/$PACKAGE
    1.55 +	cp -f $install/usr/share/$PACKAGE/logo.bmp $fs/usr/share/$PACKAGE
    1.56 +	cp -a $install/usr/share/$PACKAGE/params $fs/usr/share/$PACKAGE
    1.57  	
    1.58 -	cp -a $_pkg/usr/share/applications $fs/usr/share
    1.59 -	cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    1.60 +	cp -a $install/usr/share/applications $fs/usr/share
    1.61 +	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.62  
    1.63 -	cp -a $_pkg/usr/bin $fs/usr
    1.64 +	cp -a $install/usr/bin $fs/usr
    1.65  }