summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/embryo/embryo.SlackBuild16
-rw-r--r--libraries/embryo/embryo.info10
-rw-r--r--libraries/embryo/slack-desc12
3 files changed, 29 insertions, 9 deletions
diff --git a/libraries/embryo/embryo.SlackBuild b/libraries/embryo/embryo.SlackBuild
index 22242f45da..73c39acef5 100644
--- a/libraries/embryo/embryo.SlackBuild
+++ b/libraries/embryo/embryo.SlackBuild
@@ -5,7 +5,7 @@
# Written by Aleksandar Samardzic <asamardzic@gmail.com>
PRGNAM=embryo
-VERSION=${VERSION:-0.9.9.060}
+VERSION=${VERSION:-0.9.9.063}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -17,10 +17,13 @@ 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
@@ -42,9 +45,12 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux \
--disable-static
make
@@ -54,15 +60,17 @@ make install DESTDIR=$PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
+ xargs strip --strip-unneeded 2> /dev/null || true
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $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
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/embryo/embryo.info b/libraries/embryo/embryo.info
index 9192555278..f249ed2c53 100644
--- a/libraries/embryo/embryo.info
+++ b/libraries/embryo/embryo.info
@@ -1,8 +1,10 @@
PRGNAM="embryo"
-VERSION="0.9.9.060"
+VERSION="0.9.9.063"
HOMEPAGE="http://www.enlightenment.org/"
-DOWNLOAD="http://download.enlightenment.org/snapshots/LATEST/embryo-0.9.9.060.tar.bz2"
-MD5SUM="554e3ffb5bb033804d946a49602add16"
+DOWNLOAD="http://download.enlightenment.org/snapshots/2009-12-02/embryo-0.9.9.063.tar.bz2"
+DOWNLOAD_x86_64=""
+MD5SUM="fb5bc84980b89e8e73f5c8ae5c368bbd"
+MD5SUM_x86_64=""
MAINTAINER="Aleksandar Samardzic"
EMAIL="asamardzic@gmail.com"
-APPROVED="dsomero"
+APPROVED="Erik Hanson"
diff --git a/libraries/embryo/slack-desc b/libraries/embryo/slack-desc
index a5b44d4108..e2032e3f04 100644
--- a/libraries/embryo/slack-desc
+++ b/libraries/embryo/slack-desc
@@ -1,4 +1,11 @@
- |----- Handy ruler ----------------------------------------------|
+# 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------------------------------------------------------|
embryo: Embryo (one of the Enlightenment DR17 foundation libraries)
embryo:
embryo: Embryo implements a C like scripting language used in various
@@ -7,3 +14,6 @@ embryo:
embryo: Embryo home page is: http://www.enlightenment.org/
embryo:
embryo:
+embryo:
+embryo:
+embryo: