summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/yaml/yaml.SlackBuild29
-rw-r--r--development/yaml/yaml.info10
2 files changed, 19 insertions, 20 deletions
diff --git a/development/yaml/yaml.SlackBuild b/development/yaml/yaml.SlackBuild
index 84639435c6..cd9d50e0aa 100644
--- a/development/yaml/yaml.SlackBuild
+++ b/development/yaml/yaml.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for yaml
-# Copyright 2008 Heinz Wiesinger <hmwiesinger@gmx.at>
+# Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +22,9 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=YAML
-PKGNAM=yaml
-VERSION=0.66
-ARCH=${ARCH:-i486}
+PRGNAM=yaml
+VERSION=0.68
+ARCH=${ARCH:-noarch}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -34,21 +33,21 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+SRCNAM=$(echo $PRGNAM | tr [:lower:] [:upper:])
+
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
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
echo "y" | perl Makefile.PL INSTALLDIRS=vendor
-
make
-
make install DESTDIR=$PKG
#Move man-pages to appropriate place
@@ -68,13 +67,13 @@ find $PKG -depth -type d -empty -exec rm -rf {} \;
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
)
-mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
-cp -a Changes COMPATIBILITY README \
- $PKG/usr/doc/$PKGNAM-$VERSION
-cat $CWD/$PKGNAM.SlackBuild > $PKG/usr/doc/$PKGNAM-$VERSION/$PKGNAM.SlackBuild
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a Changes MANIFEST 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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PKGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/development/yaml/yaml.info b/development/yaml/yaml.info
index 945c260ee0..da00c56504 100644
--- a/development/yaml/yaml.info
+++ b/development/yaml/yaml.info
@@ -1,8 +1,8 @@
PRGNAM="yaml"
-VERSION="0.66"
+VERSION="0.68"
HOMEPAGE="http://search.cpan.org/dist/YAML/"
-DOWNLOAD="http://search.cpan.org/CPAN/authors/id/I/IN/INGY/YAML-0.66.tar.gz"
-MD5SUM="33a0367cb343e1f0dce20f144d0167ba"
+DOWNLOAD="http://search.cpan.org/CPAN/authors/id/I/IN/INGY/YAML-0.68.tar.gz"
+MD5SUM="4b4255360bb885acdba05314daa9129a"
MAINTAINER="ppr:kut"
-EMAIL="HMWiesinger@gmx.at"
-APPROVED="David Somero"
+EMAIL="pprkut@liwjatan.at"
+APPROVED="michiel"