mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
libraries/eet: Updated for version 1.2.3
This commit is contained in:
parent
e59b6cf9c7
commit
2456cbf213
4 changed files with 27 additions and 9 deletions
|
@ -4,4 +4,4 @@ Eet is a tiny library designed to write an arbitrary set of chunks of
|
|||
data to a file and optionally compress each chunk (very much like a
|
||||
zip file) and allow fast random-access reading of the file later on.
|
||||
|
||||
Requires eina available at SlackBuilds.org.
|
||||
Requires: eina, available at SlackBuilds.org.
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# Written by Aleksandar Samardzic <asamardzic@gmail.com>
|
||||
|
||||
PRGNAM=eet
|
||||
VERSION=${VERSION:-1.2.0}
|
||||
VERSION=${VERSION:-1.2.3}
|
||||
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}
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
PRGNAM="eet"
|
||||
VERSION="1.2.0"
|
||||
VERSION="1.2.3"
|
||||
HOMEPAGE="http://www.enlightenment.org/"
|
||||
DOWNLOAD="http://download.enlightenment.org/releases/eet-1.2.0.tar.bz2"
|
||||
MD5SUM="aaaff6b7ad48d93b2f701c1b5c5b33eb"
|
||||
DOWNLOAD="http://download.enlightenment.org/releases/eet-1.2.3.tar.bz2"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM="dac2f538ae15196a0b0b4e5164669be8"
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Aleksandar Samardzic"
|
||||
EMAIL="asamardzic@gmail.com"
|
||||
APPROVED="dsomero"
|
||||
APPROVED="Erik Hanson"
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
# 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 ------------------------------------------------|
|
||||
eet: Eet (one of the Enlightenment DR17 foundation libraries)
|
||||
eet:
|
||||
|
@ -9,3 +16,4 @@ eet:
|
|||
eet: Eet home page is: http://www.enlightenment.org/
|
||||
eet:
|
||||
eet:
|
||||
eet:
|
||||
|
|
Loading…
Reference in a new issue