summaryrefslogtreecommitdiff
path: root/system/os-prober/os-prober.SlackBuild
diff options
context:
space:
mode:
authorcrocket <crockabiscuit@gmail.com>2011-07-24 17:23:40 -0400
committerNiels Horn <niels.horn@slackbuilds.org>2011-08-11 20:23:16 -0300
commit5ae66481c566416c64d6ffb564b3039fa73bc99e (patch)
tree4bb48f2c6c636d8897a3a29677c6e70fceff9ba9 /system/os-prober/os-prober.SlackBuild
parent2374948e851639d31393e776916d62ff9e9925cb (diff)
downloadslackbuilds-5ae66481c566416c64d6ffb564b3039fa73bc99e.tar.gz
system/os-prober: Updated for version 1.42.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/os-prober/os-prober.SlackBuild')
-rw-r--r--system/os-prober/os-prober.SlackBuild23
1 files changed, 11 insertions, 12 deletions
diff --git a/system/os-prober/os-prober.SlackBuild b/system/os-prober/os-prober.SlackBuild
index 13b136395c..d902d7b223 100644
--- a/system/os-prober/os-prober.SlackBuild
+++ b/system/os-prober/os-prober.SlackBuild
@@ -2,10 +2,10 @@
# Slackware build script for os-prober
-# Written by crocket (crockabiscuit@yahoo.com)
+# Written by crocket (crockabiscuit@gmail.com)
PRGNAM=os-prober
-VERSION=${VERSION:-1.39}
+VERSION=${VERSION:-1.42}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,7 +35,7 @@ find . \
# Compile newns
make
# Create a hierharchy for os-prober package, and copy files into it.
-# I figured out the hierarchy by typing "dpkg -L os-prober" in ubuntu.
+# I figured out the hierarchy by typing "dpkg -L os-prober" in debian.
mkdir -p $PKG/var/lib/$PRGNAM
mkdir -p $PKG/usr/bin
@@ -45,21 +45,19 @@ cp os-prober $PKG/usr/bin
mkdir -p $PKG/usr/lib/$PRGNAM
cp newns $PKG/usr/lib/$PRGNAM
-mkdir -p $PKG/usr/lib/os-probes
-cp os-probes/common/* $PKG/usr/lib/os-probes
+mkdir -p $PKG/usr/lib/linux-boot-probes/mounted
+cp linux-boot-probes/common/* $PKG/usr/lib/linux-boot-probes
+cp linux-boot-probes/mounted/common/* $PKG/usr/lib/linux-boot-probes/mounted
+cp linux-boot-probes/mounted/x86/* $PKG/usr/lib/linux-boot-probes/mounted
+
mkdir -p $PKG/usr/lib/os-probes/mounted
+cp os-probes/common/* $PKG/usr/lib/os-probes
cp os-probes/mounted/common/* $PKG/usr/lib/os-probes/mounted
cp os-probes/mounted/x86/* $PKG/usr/lib/os-probes/mounted
-mkdir -p $PKG/usr/lib/os-probes/init
+mkdir $PKG/usr/lib/os-probes/init
cp os-probes/init/common/* $PKG/usr/lib/os-probes/init
-mkdir -p $PKG/usr/lib/linux-boot-probes
-cp linux-boot-probes/common/* $PKG/usr/lib/linux-boot-probes/
-mkdir $PKG/usr/lib/linux-boot-probes/mounted
-cp linux-boot-probes/mounted/common/* $PKG/usr/lib/linux-boot-probes/mounted
-cp linux-boot-probes/mounted/x86/* $PKG/usr/lib/linux-boot-probes/mounted
-
mkdir -p $PKG/usr/share/$PRGNAM
cp common.sh $PKG/usr/share/$PRGNAM
chmod +x $PKG/usr/share/$PRGNAM/common.sh
@@ -74,3 +72,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+