Receipt for package "dahdi-linux"
# SliTaz package receipt. PACKAGE="dahdi-linux" VERSION="2.4.0" CATEGORY="network" SHORT_DESC="Digium Asterisk Hardware Device Interface: kernel modules." 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" DEPENDS="linux udev" #PROVIDE="linux-misdn" # Rules to gen a SliTaz package suitable for Tazpkg. compile_rules() { cd $src sed -i 's/tar -xof/tar -xf/' drivers/dahdi/firmware/Makefile find -type f | xargs sed -i -e 's/DECLARE_MUTEX/DEFINE_SEMAPHORE/g' \ -e 's/init_MUTEX\([^)]*\)/sema_init\1, 1/g' [ -d $WOK/linux/taz ] || tazwok cook linux make KSRC=$WOK/linux/source/$(ls $WOK/linux/taz) install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { EXTRAVERSION=_${kvers} cp -a $_pkg/* $fs } # Post install/remove commands for Tazpkg. post_install() { chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz } post_remove() { chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz }
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)