wok-6.x rev 4037
Update: xtrkcad
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Mon Sep 07 22:34:25 2009 +0000 (2009-09-07) |
parents | d437e141264c |
children | c954da79981d |
files | xtrkcad/receipt |
line diff
1.1 --- a/xtrkcad/receipt Mon Sep 07 21:44:04 2009 +0000 1.2 +++ b/xtrkcad/receipt Mon Sep 07 22:34:25 2009 +0000 1.3 @@ -21,16 +21,11 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - # Determine if TOOLPREFIX has been defined in tazwok.conf as it should 1.8 - if [ -z "$TOOLPREFIX" ] ; then 1.9 - # Provide a default TOOLPREFIX value 1.10 - TOOLPREFIX=i486-pc-linux-gnu- 1.11 - fi 1.12 - 1.13 XTRKCAD_STUFF=$PWD/stuff 1.14 1.15 mv $PACKAGE-source-$VERSION $PACKAGE-$VERSION 1.16 cd $src 1.17 + sed -e 's|share/xtrkcad/locale|share/locale|g' -i CMakeLists.txt && 1.18 cmake -D CMAKE_C_COMPILER:FILEPATH=${TOOLPREFIX}gcc \ 1.19 -D CMAKE_CXX_COMPILER:FILEPATH=${TOOLPREFIX}c++ \ 1.20 -D CMAKE_INSTALL_PREFIX=/usr \ 1.21 @@ -38,8 +33,7 @@ 1.22 make PREFIX=/usr && 1.23 make DESTDIR=$src/_pkg install && 1.24 mkdir -p $src/_pkg/usr/share/pixmaps && 1.25 - # cp -f $XTRKCAD_STUFF/$PACKAGE.png $src/_pkg/usr/share/pixmaps && 1.26 - cp -f $src/app/bin/xtrkcad.ico $src/_pkg/usr/share/pixmaps 1.27 + cp -f $XTRKCAD_STUFF/$PACKAGE.png $src/_pkg/usr/share/pixmaps && 1.28 mkdir -p $src/_pkg/usr/share/applications && 1.29 cp -f $XTRKCAD_STUFF/$PACKAGE.desktop $src/_pkg/usr/share/applications && 1.30 sed -e 's|^Categories=[^$]*$|Categories=Application;Railroad;|g' -i $src/_pkg/usr/share/applications/*.desktop