libraries/eina: Updated for version 0.9.9.063

This commit is contained in:
Aleksandar Samardzic 2010-05-13 00:29:16 +02:00 committed by Erik Hanson
parent 2a6f4063de
commit 358e77b33c
3 changed files with 27 additions and 10 deletions

View file

@ -5,7 +5,7 @@
# Written by Aleksandar Samardzic <asamardzic@gmail.com>
PRGNAM=eina
VERSION=${VERSION:-0.0.2.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}

View file

@ -1,8 +1,10 @@
PRGNAM="eina"
VERSION="0.0.2.060"
VERSION="0.9.9.063"
HOMEPAGE="http://www.enlightenment.org/"
DOWNLOAD="http://download.enlightenment.org/snapshots/LATEST/eina-0.0.2.060.tar.bz2"
MD5SUM="c0c130df91a75586a89e2a340712938a"
DOWNLOAD="http://download.enlightenment.org/snapshots/2009-12-02/eina-0.9.9.063.tar.bz2"
MD5SUM="1289ac1d6b1a7a578158f9ff24301f3f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Aleksandar Samardzic"
EMAIL="asamardzic@gmail.com"
APPROVED="dsomero"
APPROVED="Erik Hanson"

View file

@ -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------------------------------------------------------|
eina: Eina (one of the Enlightenment DR17 foundation libraries)
eina:
eina: Eina is a multi-platform library that provides optimized data
@ -8,5 +15,5 @@ eina: also provides some useful tools like opening shared libraries,
eina: errors management, type conversion, time accounting and memory
eina: pool.
eina:
eina: Eina home page is: http://www.enlightenment.org/
eina: Homepage: http://www.enlightenment.org/
eina: