summaryrefslogtreecommitdiff
path: root/system/fs-uae/fs-uae.SlackBuild
diff options
context:
space:
mode:
authorMarcel Saegebarth <marc@mos6581.de>2015-09-21 20:30:32 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-26 10:05:46 +0700
commit779c4cfa62db88382cd344b17a7b98f2f45fe07e (patch)
treeb5c56341d1a3a066f4cd0236577375395186a261 /system/fs-uae/fs-uae.SlackBuild
parented2d8bfcf93a7c4339f08d55fa51d2d2fa48eb8f (diff)
downloadslackbuilds-779c4cfa62db88382cd344b17a7b98f2f45fe07e.tar.gz
system/fs-uae: Updated for version 2.6.1.
Signed-off-by: Marcel Saegebarth <marc@mos6581.de>
Diffstat (limited to 'system/fs-uae/fs-uae.SlackBuild')
-rw-r--r--system/fs-uae/fs-uae.SlackBuild18
1 files changed, 13 insertions, 5 deletions
diff --git a/system/fs-uae/fs-uae.SlackBuild b/system/fs-uae/fs-uae.SlackBuild
index c9b659729c..8b5ee5f23f 100644
--- a/system/fs-uae/fs-uae.SlackBuild
+++ b/system/fs-uae/fs-uae.SlackBuild
@@ -25,7 +25,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fs-uae
-VERSION=${VERSION:-2.4.3}
+VERSION=${VERSION:-2.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,11 +71,19 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-make CXXFLAGS="$SLKCFLAGS" prefix=/usr docdir=/usr/doc/$PRGNAM-$VERSION
-make install prefix=$PKG/usr docdir=$PKG/usr/doc/$PRGNAM-$VERSION
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make
+make install-strip DESTDIR=$PKG
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild