|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
# Build script for Slackware |
|
|
|
|
# Copyright (C) 2016 Damien Goutte-Gattat |
|
|
|
|
# Copyright (C) 2016,2019 Damien Goutte-Gattat |
|
|
|
|
# |
|
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
|
# is permitted provided that the following conditions are met: |
|
|
|
@ -27,7 +27,7 @@
|
|
|
|
|
|
|
|
|
|
# Source package infos |
|
|
|
|
NAMESRC=${NAMESRC:-libfm} |
|
|
|
|
VERSION=${VERSION:-1.2.4} |
|
|
|
|
VERSION=${VERSION:-1.3.1} |
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.xz} |
|
|
|
|
WGET=${WGET:-http://downloads.sourceforge.net/pcmanfm/$ARCHIVE} |
|
|
|
|
|
|
|
|
@ -76,7 +76,7 @@ if [ ! -r $ARCHIVE ]; then
|
|
|
|
|
wget -c -O $ARCHIVE.part "$WGET" |
|
|
|
|
mv $ARCHIVE.part $ARCHIVE |
|
|
|
|
fi |
|
|
|
|
sha1sum -c $ARCHIVE.sha1 |
|
|
|
|
sha256sum -c $ARCHIVE.sha256 |
|
|
|
|
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1) |
|
|
|
|
|
|
|
|
|
# Compile |
|
|
|
@ -90,7 +90,9 @@ CXXFLAGS=$CPUOPT \
|
|
|
|
|
--prefix=/usr \ |
|
|
|
|
--libdir=/usr/lib$LIBDIRSUFFIX \ |
|
|
|
|
--disable-static \ |
|
|
|
|
--with-extra-only |
|
|
|
|
--with-extra-only \ |
|
|
|
|
--disable-dependency-tracking \ |
|
|
|
|
--build=$ARCH-slackware-linux |
|
|
|
|
make -j $JOBS |
|
|
|
|
make install-strip DESTDIR=$PKG |
|
|
|
|
|
|
|
|
|