aboutsummaryrefslogtreecommitdiff
path: root/libraries/asio
diff options
context:
space:
mode:
authorMartin Bångens <marbangens@gmail.com>2022-06-25 03:37:32 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-07-02 09:55:33 +0700
commit6a9f2c3f63c4af5a94977f4ce227bf11d1c4dd88 (patch)
tree37aac3e7ab40146e7b4bd3b64798de60d7fefd51 /libraries/asio
parent43bfe774f290b82252b9406a6880fc4acb14848f (diff)
libraries/asio: Updated for version 1.22.1. New maintainer.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/asio')
-rw-r--r--libraries/asio/asio.SlackBuild22
-rw-r--r--libraries/asio/asio.info10
2 files changed, 18 insertions, 14 deletions
diff --git a/libraries/asio/asio.SlackBuild b/libraries/asio/asio.SlackBuild
index 0e3d1d011294e..7f6e627f6a6ae 100644
--- a/libraries/asio/asio.SlackBuild
+++ b/libraries/asio/asio.SlackBuild
@@ -22,11 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Now maintained by Martin Bångens
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=asio
-VERSION=${VERSION:-1.18.2}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.22.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,7 +72,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -79,25 +81,27 @@ 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 {} \;
+# These are available ##############################################################
+# --with-boost=DIR location of boost distribution
+# --enable-separate-compilation separate compilation of asio source
+# --enable-boost-coroutine use Boost.Coroutine to implement stackful coroutines
+# --with-openssl=DIR location of openssl
+#
+./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+# we leave out doc/ for now
cp -raf COPYING INSTALL LICENSE_1_0.txt README doc/ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-rm -f $PKG/usr/lib*/*.la
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/libraries/asio/asio.info b/libraries/asio/asio.info
index 3675d86cbae54..a1fb27b489845 100644
--- a/libraries/asio/asio.info
+++ b/libraries/asio/asio.info
@@ -1,10 +1,10 @@
PRGNAM="asio"
-VERSION="1.18.2"
+VERSION="1.22.1"
HOMEPAGE="http://think-async.com/Asio/"
-DOWNLOAD="http://downloads.sourceforge.net/asio/asio-1.18.2.tar.bz2"
-MD5SUM="2c284127e81233ea4270117461c62315"
+DOWNLOAD="https://github.com/noisecode3/asio/archive/1.22.1/asio-1.22.1.tar.gz"
+MD5SUM="81a4018a7b1f37279fa5bfc952d8a59a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Andre Barboza"
-EMAIL="bmg.andre@gmail.com"
+MAINTAINER="Martin Bångens"
+EMAIL="marbangens@gmail.com"