aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/libwpg/libwpg.SlackBuild18
-rw-r--r--libraries/libwpg/libwpg.info6
2 files changed, 11 insertions, 13 deletions
diff --git a/libraries/libwpg/libwpg.SlackBuild b/libraries/libwpg/libwpg.SlackBuild
index 7642e16ada3c4..9ea2158d49816 100644
--- a/libraries/libwpg/libwpg.SlackBuild
+++ b/libraries/libwpg/libwpg.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libwpg
-VERSION=0.2.1
+VERSION=${VERSION:-0.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,12 +63,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \
- -o -perm 400 \) -exec chmod 644 {} \;
-
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -77,6 +76,7 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
--build=$ARCH-slackware-linux \
--host=$ARCH-slackware-linux
@@ -85,10 +85,8 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/doc/libwpg/* $PKG/usr/doc/$PRGNAM-$VERSION/
-cp -a AUTHORS ChangeLog COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-rm -rf $PKG/usr/share
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/libraries/libwpg/libwpg.info b/libraries/libwpg/libwpg.info
index 44debafc876bc..1f8390b304a87 100644
--- a/libraries/libwpg/libwpg.info
+++ b/libraries/libwpg/libwpg.info
@@ -1,8 +1,8 @@
PRGNAM="libwpg"
-VERSION="0.2.1"
+VERSION="0.2.2"
HOMEPAGE="http://libwpg.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/libwpg/libwpg-0.2.1.tar.bz2"
-MD5SUM="9d283e02441d8cebdcd1e5d9df227d67"
+DOWNLOAD="http://downloads.sourceforge.net/libwpg/libwpg-0.2.2.tar.bz2"
+MD5SUM="b85436266b2ac91d351ab5684b181151"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""