SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "wvstreams"

# SliTaz package receipt.

PACKAGE="wvstreams"
VERSION="4.6.1"
CATEGORY="network"
SHORT_DESC="makes modem-based connection to Internet"
MAINTAINER="jozee@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://wvstreams.googlecode.com"
WGET_URL="http://wvstreams.googlecode.com/files/$TARBALL"
TAGS="network 3g"

DEPENDS="ppp libssl xplc readline"
BUILD_DEPENDS="ppp-dev openssl-dev xplc-dev readline-dev"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    sed -i 's/  X509V3_EXT_METHOD/  const X509V3_EXT_METHOD/' crypto/wvx509.cc
    sed -i 's/def MACOS/ 1/' streams/wvatomicfile.cc \
        ipstreams/wvunixdgsocket.cc
    ./configure $CONFIGURE_ARGS \
        --prefix=/usr \
        --without-dbus \
        --without-tcl \
        --without-qt \
        --without-pam \
        --without-valgrind &&
    make -j1 && make -j1 install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib $fs/etc $fs/var            
    cp -a $_pkg/usr/bin $fs/usr
    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    cp -a $_pkg/usr/lib/valgrind $fs/usr/lib
    cp -a $_pkg/usr/sbin $fs/usr
    cp -a $_pkg/usr/etc/* $fs/etc
    cp -a $_pkg/usr/var/* $fs/var
}

post_remove()
{
    rm -rf $1/etc/ppp/peers/wvdial
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)