diff options
Diffstat (limited to 'libraries/asio/asio.SlackBuild')
-rw-r--r-- | libraries/asio/asio.SlackBuild | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/libraries/asio/asio.SlackBuild b/libraries/asio/asio.SlackBuild index 0e3d1d0112..a6135bf387 100644 --- a/libraries/asio/asio.SlackBuild +++ b/libraries/asio/asio.SlackBuild @@ -22,11 +22,14 @@ # 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.28.2} +GIT_TAG=${GIT_TAG:-asio-1-28-2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +41,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -69,9 +69,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 -cd $PRGNAM-$VERSION +rm -rf $PRGNAM-$GIT_TAG +tar xvf $CWD/$PRGNAM-$GIT_TAG.tar.gz +cd $PRGNAM-$GIT_TAG chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -79,25 +79,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 +# +cd asio +./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 -cp -raf COPYING INSTALL LICENSE_1_0.txt README doc/ $PKG/usr/doc/$PRGNAM-$VERSION +cp -raf COPYING LICENSE_1_0.txt README $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 |