From: Jose V Beneyto Date: Mon, 4 Jan 2010 11:27:22 +0000 (+0100) Subject: scummvm: fixed crosstools usage X-Git-Url: http://gitweb/?a=commitdiff_plain;h=290f9c8fd49bb04588db3bcbbc193bff572a62ef;p=attic%2Fports%2Fgames-cross.git scummvm: fixed crosstools usage --- diff --git a/scummvm/Pkgfile b/scummvm/Pkgfile index 2c299df..1f23ab2 100644 --- a/scummvm/Pkgfile +++ b/scummvm/Pkgfile @@ -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