CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
reminiscence: tried to change the default scaler to 0 (non-scaled)
[attic/ports/games-cross.git] / scummvm / Pkgfile
index 2c299df19e951b5e1fae7edfb567d54963034e34..1f23ab2f68777255d9bb9bc7c04d9c3fb377bdcc 100644 (file)
@@ -8,7 +8,7 @@
 
 name=scummvm
 version=1.0.0
-release=1
+release=2
 source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2)
 
 build() {
@@ -21,7 +21,6 @@ build() {
   export ZLIB_LIBS="$DEFAULT_LIBS"
   export ZLIB_CFLAGS="$DEFAULT_CFLAGS"
   
-  sed -i ports.mk -e 's|$(INSTALL) -c -s|$(INSTALL)|'
   ./configure --host=$CTARGET \
               --prefix=/usr \
               --mandir=/usr/man \
@@ -30,6 +29,13 @@ build() {
               --enable-sci \
               --enable-sci32
 
+  sed -i ports.mk -e 's|$(INSTALL) -c -s|$(INSTALL)|'
+  sed -i config.mk \
+      -e  "s|RANLIB := .*|RANLIB := $RANLIB|" \
+      -e  "s|STRIP := .*|STRIP := $STRIP|" \
+      -e  "s|AR := .*|AR := $AR cru|" \
+      -e  "s|AS := .*|AS := $AS|"
+
   make
   make DESTDIR=$PKG install
   rm -rf $PKG/usr/share/doc