SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "dahdi-tools"

# SliTaz package receipt.

PACKAGE="dahdi-tools"
VERSION="2.4.0"
CATEGORY="network"
SHORT_DESC="Digium Asterisk Hardware Device Interface userland tools."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.asterisk.org/"
WGET_URL="http://downloads.asterisk.org/pub/telephony/$PACKAGE/releases/$TARBALL"
CONFIG_FILES="/etc/dahdi/"

DEPENDS="libusb-compat newt libpri"
BUILD_DEPENDS="dahdi-linux-dev ppp-dev newt-dev libpri-dev"

# Rules to gen a SliTaz package suitable for Tazpkg.
compile_rules()
{
    cd $src
    ./configure \
        --prefix=/usr \
        --sysconfdir=/etc \
        --exec-prefix=/usr \
        --mandir=/usr/share/man \
        $CONFIGURE_ARGS &&
    make -j1 &&
    make -j1 -C ppp &&
    make -j1 DESTDIR=$PWD/_pkg install &&
    make -j1 DESTDIR=$PWD/_pkg -C ppp install &&
    make -j1 DESTDIR=$PWD/_pkg config
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/etc $fs/usr/lib $fs/usr/share
    cp -a $_pkg/etc/dahdi $fs/etc
    cp -a $_pkg/usr/sbin $fs/usr
    cp -a $_pkg/usr/lib/lib*.so* $fs/usr/lib
    cp -a $_pkg/usr/share/dahdi $fs/usr/share
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)