aboutsummaryrefslogtreecommitdiff
path: root/libraries
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
parentcebd67aab9b883f12edc6b9ecec5554f83b841bc (diff)
libraries/libfm: Updated for version 20110316_c604674
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libfm/README6
-rw-r--r--libraries/libfm/libfm.SlackBuild14
-rw-r--r--libraries/libfm/libfm.info6
3 files changed, 14 insertions, 12 deletions
diff --git a/libraries/libfm/README b/libraries/libfm/README
index 97feeaa3c0f5..32c99a761385 100644
--- a/libraries/libfm/README
+++ b/libraries/libfm/README
@@ -1,4 +1,4 @@
-LibFM provides file management functions built on top of Glib/GIO, giving a
-convenient higher-level API.
+LibFM provides file management functions built on top of Glib/GIO,
+giving a convenient higher-level API.
-This requires menu-cache.
+This requires menu-cache, udisks, and upower.
diff --git a/libraries/libfm/libfm.SlackBuild b/libraries/libfm/libfm.SlackBuild
index fa958c730e03..9b55d14ce9bc 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 \
diff --git a/libraries/libfm/libfm.info b/libraries/libfm/libfm.info
index cc9096a107a2..8d3c8bd54fd1 100644
--- a/libraries/libfm/libfm.info
+++ b/libraries/libfm/libfm.info
@@ -1,8 +1,8 @@
PRGNAM="libfm"
-VERSION="0.1.12"
+VERSION="20110316_c604674"
HOMEPAGE="http://pcmanfm.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/pcmanfm/libfm-0.1.12.tar.gz"
-MD5SUM="6dbc9a30efb5ad0a2c7a0fc54b1ee57c"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxde/libfm-20110316_c604674.tar.xz"
+MD5SUM="d2973b01e62aa30223a270630e45d433"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="ponce"