aboutsummaryrefslogtreecommitdiff
path: root/network/uget
diff options
context:
space:
mode:
authorMorten Juhl-Johansen Zölde-Fejér <mjjzf@syntaktisk.dk>2010-05-13 01:00:25 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-13 01:00:25 +0200
commit0b589f7d91335b59d1c20099e161131539051607 (patch)
tree98fbd9efca248a110a8f827a92eabd7784b37d50 /network/uget
parentba151ca3adc55d9a5a5f4a6526289a3196674c07 (diff)
network/uget: Added to 13.0 repository
Diffstat (limited to 'network/uget')
-rw-r--r--network/uget/README4
-rw-r--r--network/uget/doinst.sh4
-rw-r--r--network/uget/slack-desc19
-rw-r--r--network/uget/uget.SlackBuild60
-rw-r--r--network/uget/uget.info10
5 files changed, 97 insertions, 0 deletions
diff --git a/network/uget/README b/network/uget/README
new file mode 100644
index 0000000000000..a0e6684ecf74a
--- /dev/null
+++ b/network/uget/README
@@ -0,0 +1,4 @@
+Uget (formerly urlgfe) is a Free and Open Source download manager.
+
+It allows for queuing downloads, file type-based classification of
+downloads, and is lightweight.
diff --git a/network/uget/doinst.sh b/network/uget/doinst.sh
new file mode 100644
index 0000000000000..4e8ba7071dea7
--- /dev/null
+++ b/network/uget/doinst.sh
@@ -0,0 +1,4 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
diff --git a/network/uget/slack-desc b/network/uget/slack-desc
new file mode 100644
index 0000000000000..0c0aa202ce94a
--- /dev/null
+++ b/network/uget/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler-------------------------------------------------------|
+uget: uget (download manager in GTK+)
+uget:
+uget: Uget (formerly urlgfe) is a Free and Open Source download manager.
+uget:
+uget:
+uget:
+uget:
+uget:
+uget:
+uget:
+uget:
diff --git a/network/uget/uget.SlackBuild b/network/uget/uget.SlackBuild
new file mode 100644
index 0000000000000..ec098632ad532
--- /dev/null
+++ b/network/uget/uget.SlackBuild
@@ -0,0 +1,60 @@
+#!/bin/sh
+
+# Slackware build script for Uget
+# Written by Morten Juhl-Johansen Zölde-Fejér <mjjzf@syntaktisk.dk>
+
+# Modified by SlackBuilds.org
+
+PRGNAM=uget
+VERSION=1.5.0.1
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --build=$ARCH-slackware-linux
+
+make
+make install-strip DESTDIR=$PKG
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
+ $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
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/uget/uget.info b/network/uget/uget.info
new file mode 100644
index 0000000000000..e7c076db32eca
--- /dev/null
+++ b/network/uget/uget.info
@@ -0,0 +1,10 @@
+PRGNAM="uget"
+VERSION="1.5.0.1"
+HOMEPAGE="http://urlget.sourceforge.net"
+DOWNLOAD="http://downloads.sourceforge.net/urlget/uget-1.5.0.1.tar.gz"
+MD5SUM="707ebf0d45d1b670194b262bbad6704f"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="Morten Juhl-Johansen Zölde-Fejér"
+EMAIL="mjjzf@syntaktisk.dk"
+APPROVED="Erik Hanson"