mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
libraries/liboop Update to 1.0.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
f7ae66333b
commit
f862997883
4 changed files with 39 additions and 7 deletions
|
@ -6,3 +6,7 @@ It replaces the "select() loop" and allows the registration of event
|
|||
handlers for file and network I/O, timers and signals. Since processes
|
||||
use these mechanisms for almost all external communication, liboop can
|
||||
be used as the basis for almost any application.
|
||||
|
||||
adns is optional dependency. When adns is installed, the script will
|
||||
build a liboop adns version. No additinal commands are needed.
|
||||
Configure will catch it automatically.
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=liboop
|
||||
VERSION=${VERSION:-1.0}
|
||||
VERSION=${VERSION:-1.0.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -66,6 +66,12 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# Patch the configure etc so it can compile with Slackware's tcl.
|
||||
patch -p1 < $CWD/patches/tcl_dev.patch
|
||||
|
||||
# Fool autotools so it won't complain and we can simple configure and make
|
||||
find . -exec touch -m {} +
|
||||
|
||||
# build including libwww adapter
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
|
@ -79,7 +85,7 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--disable-static \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make -j1
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
( cd $PKG || exit 1
|
||||
|
@ -91,7 +97,7 @@ make install DESTDIR=$PKG
|
|||
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a [A-Z][A-Z]* $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README$TAG
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="liboop"
|
||||
VERSION="1.0"
|
||||
HOMEPAGE="http://liboop.ofb.net/"
|
||||
DOWNLOAD="http://ponce.cc/slackware/sources/repo/liboop-1.0.tar.gz"
|
||||
MD5SUM="36cb971047d3af02369446f5e0b315a2"
|
||||
VERSION="1.0.1"
|
||||
HOMEPAGE="https://www.lysator.liu.se/liboop/"
|
||||
DOWNLOAD="https://ftp.lysator.liu.se/pub/liboop/liboop-1.0.1.tar.gz"
|
||||
MD5SUM="f2b3dff17355fd9a6e2229caca8993f0"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
22
libraries/liboop/patches/tcl_dev.patch
Normal file
22
libraries/liboop/patches/tcl_dev.patch
Normal file
|
@ -0,0 +1,22 @@
|
|||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -12666,7 +12666,7 @@ fi
|
||||
fi
|
||||
|
||||
if test xno != x$with_tcl; then
|
||||
- for version in 8.4 8.3 8.2 8.1 8.0 ; do
|
||||
+ for version in "" 8.4 8.3 8.2 8.1 8.0 ; do
|
||||
CPPFLAGS="$save_cppflags -I/usr/include/tcl$version"
|
||||
as_ac_Lib=`$as_echo "ac_cv_lib_tcl$version''_Tcl_Main" | $as_tr_sh`
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl_Main in -ltcl$version" >&5
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -71,7 +71,7 @@ if test xno != x$with_glib; then
|
||||
fi
|
||||
|
||||
if test xno != x$with_tcl; then
|
||||
- for version in 8.4 8.3 8.2 8.1 8.0 ; do
|
||||
+ for version in "" 8.4 8.3 8.2 8.1 8.0 ; do
|
||||
CPPFLAGS="$save_cppflags -I/usr/include/tcl$version"
|
||||
AC_CHECK_LIB(tcl$version,Tcl_Main,[
|
||||
AC_CHECK_HEADER(tcl.h,[
|
Loading…
Reference in a new issue