summaryrefslogtreecommitdiff
path: root/source/a/eudev
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/eudev')
-rwxr-xr-xsource/a/eudev/eudev.SlackBuild8
-rw-r--r--source/a/eudev/eudev.url1
2 files changed, 5 insertions, 4 deletions
diff --git a/source/a/eudev/eudev.SlackBuild b/source/a/eudev/eudev.SlackBuild
index 0c8a22d9..cc94d761 100755
--- a/source/a/eudev/eudev.SlackBuild
+++ b/source/a/eudev/eudev.SlackBuild
@@ -23,10 +23,10 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=eudev
-VERSION=${VERSION:-$(echo eudev-*.tar.* | cut -d - -f 2 | rev | cut -f 3- -d . | rev)}
-BUILD=${BUILD:-4}
+VERSION=${VERSION:-$(echo eudev-*.tar.?* | cut -d - -f 2 | rev | cut -f 3- -d . | rev)}
+BUILD=${BUILD:-1}
-NUMJOBS=${NUMJOBS:-" -j7 "}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -59,7 +59,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG/lib/udev
cd $TMP
rm -rf eudev-$VERSION
-tar xvf $CWD/eudev-$VERSION.tar.xz || exit 1
+tar xvf $CWD/eudev-$VERSION.tar.?z || exit 1
cd eudev-$VERSION || exit 1
chown -R root:root .
find . \
diff --git a/source/a/eudev/eudev.url b/source/a/eudev/eudev.url
new file mode 100644
index 00000000..1d7619f4
--- /dev/null
+++ b/source/a/eudev/eudev.url
@@ -0,0 +1 @@
+http://dev.gentoo.org/~blueness/eudev/