summaryrefslogtreecommitdiff
path: root/libraries/libfm/libfm.SlackBuild
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2011-03-31 15:38:30 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-03-31 15:38:30 -0500
commitbc6ec6cfd3fed8462b03a7767b661d1970c467cf (patch)
tree3e44ee9c2f7226f68ecf52527bf51bdf4a742c1d /libraries/libfm/libfm.SlackBuild
parentcebd67aab9b883f12edc6b9ecec5554f83b841bc (diff)
downloadslackbuilds-bc6ec6cfd3fed8462b03a7767b661d1970c467cf.tar.gz
libraries/libfm: Updated for version 20110316_c604674
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libfm/libfm.SlackBuild')
-rw-r--r--libraries/libfm/libfm.SlackBuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/libraries/libfm/libfm.SlackBuild b/libraries/libfm/libfm.SlackBuild
index fa958c730e..9b55d14ce9 100644
--- a/libraries/libfm/libfm.SlackBuild
+++ b/libraries/libfm/libfm.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libfm
-VERSION=0.1.12
+VERSION=${VERSION:-20110316_c604674}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -69,6 +69,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+sh autogen.sh || true
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -76,13 +78,13 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
+ --enable-udisks \
+ --disable-debug \
+ --disable-static \
--build=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING README TODO \