aboutsummaryrefslogtreecommitdiff
path: root/system/fs-uae/fs-uae.SlackBuild
diff options
context:
space:
mode:
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 c9b659729ca3e..8b5ee5f23fd21 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