aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 97feeaa3c0f50..32c99a761385a 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 fa958c730e03c..9b55d14ce9bc9 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 cc9096a107a2f..8d3c8bd54fd14 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"