aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorBrice Lopez <brice.lopez@banh-bao.fr>2012-04-29 20:06:07 -0400
committerErik Hanson <erik@slackbuilds.org>2012-04-30 00:40:03 -0500
commit4a82be71234ac277af187d63f52ad743d8492e26 (patch)
tree99ef69fff9783eb141ad3273026cf41a32b6fae8 /network
parentfe390a6c4f11d385832d17efa0302d65710c3db2 (diff)
network/weboob: Updated for version 0.a.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/weboob/slack-desc2
-rw-r--r--network/weboob/weboob.SlackBuild (renamed from network/weboob/weboob.Slackbuild)15
-rw-r--r--network/weboob/weboob.info8
3 files changed, 16 insertions, 9 deletions
diff --git a/network/weboob/slack-desc b/network/weboob/slack-desc
index 005a109d0f568..eb73604ba6be0 100644
--- a/network/weboob/slack-desc
+++ b/network/weboob/slack-desc
@@ -9,7 +9,7 @@
weboob: weboob (applications to interact with websites)
weboob:
weboob: weboob (Web Out Of Browsers) provides several applications to
-weboob: interact with a lot of websites.
+weboob: interact with a lot of websites.
weboob:
weboob: Homepage: http://symlink.me/projects/weboob
weboob:
diff --git a/network/weboob/weboob.Slackbuild b/network/weboob/weboob.SlackBuild
index 5b6c0c8b3de77..bafd5d1f8ec61 100644
--- a/network/weboob/weboob.Slackbuild
+++ b/network/weboob/weboob.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=weboob
-VERSION=${VERSION:-0.9.1}
+VERSION=${VERSION:-0.a}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,14 +53,21 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+PYTHONPATH=$PKG/usr
+sed -i -e "s|share/man|man|g" setup.py
python setup.py install --root=$PKG
-mv $PKG/usr/share/man $PKG/usr/man
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ChangeLog INSTALL MANIFEST.in README $PKG/usr/doc/$PRGNAM-$VERSION
-find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
+cp -a \
+ ChangeLog INSTALL MANIFEST.in README docs \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/network/weboob/weboob.info b/network/weboob/weboob.info
index bfeef27dbf8a2..86094a4ccc23c 100644
--- a/network/weboob/weboob.info
+++ b/network/weboob/weboob.info
@@ -1,10 +1,10 @@
PRGNAM="weboob"
-VERSION="0.9.1"
+VERSION="0.a"
HOMEPAGE="http://weboob.org/"
-DOWNLOAD="http://symlink.me/attachments/download/146/weboob-0.9.1.tar.gz"
-MD5SUM="be4fd2e008ce197a5214c73bb2f8e9ab"
+DOWNLOAD="https://symlink.me/attachments/download/165/weboob-0.a.tar.gz"
+MD5SUM="15568485fd2bea4c53b69a6edb8c7e45"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Brice Lopez"
EMAIL="brice.lopez@banh-bao.fr"
-APPROVED="rworkman"
+APPROVED="dsomero"