# HG changeset patch # User Matthew Sheets # Date 1251121238 0 # Node ID 2b12949488f4cf13266a8228e925a5fc7548ad04 # Parent eda0473a575df2d03aca2caf3dd35aa88d12a7e6 Update: Rocrail (TOOLPREFIX) diff -r eda0473a575d -r 2b12949488f4 rocrail/receipt --- a/rocrail/receipt Mon Aug 24 08:45:28 2009 +0000 +++ b/rocrail/receipt Mon Aug 24 13:40:38 2009 +0000 @@ -19,12 +19,6 @@ # Rules to configure and make the package. compile_rules() { - # Determine if TOOLPREFIX has been defined in tazwok.conf as it should - if [ -z "$TOOLPREFIX" ] ; then - # Provide a default TOOLPREFIX value - TOOLPREFIX=i486-pc-linux-gnu- - fi - mv Rocrail-Act-1.2 $src rm -r -f $src/.bzr $src/.settings @@ -34,7 +28,7 @@ rm -r -f rocrail cd $src - make && + make TOOLPREFIX=$TOOLPREFIX && make DESTDIR=$src/_pkg PREFIX=/usr install && sed -e 's|^Categories=[^$]*$|Categories=Application;Railroad;|g' -i $src/_pkg/usr/share/applications/*.desktop }