wok-6.x diff dahdi-linux/receipt @ rev 20574
Get zfs-fuse tarball from archive.org
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 13 15:52:42 2018 +0100 (2018-12-13) |
parents | 6654f7570789 |
children | 05c8d8d9d934 |
line diff
1.1 --- a/dahdi-linux/receipt Fri Mar 06 12:02:31 2015 +0100 1.2 +++ b/dahdi-linux/receipt Thu Dec 13 15:52:42 2018 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="dahdi-linux" 1.7 -VERSION="2.6.1" 1.8 +VERSION="2.11.1" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Digium Asterisk Hardware Device Interface: kernel modules." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -9,27 +9,29 @@ 1.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 WEB_SITE="http://www.asterisk.org/" 1.15 WGET_URL="http://downloads.asterisk.org/pub/telephony/$PACKAGE/releases/$TARBALL" 1.16 -EXTRA_SOURCE_FILES="dahdi-fw-hx8-2.06.tar.gz \ 1.17 +EXTRA_SOURCE_FILES="dahdi-fw-hx8-2.06.tar.gz dahdi-fw-oct6114-032-1.05.01.tar.gz \ 1.18 dahdi-fw-oct6114-064-1.05.01.tar.gz dahdi-fw-oct6114-128-1.05.01.tar.gz \ 1.19 dahdi-fw-oct6114-256-1.05.01.tar.gz dahdi-fw-tc400m-MR6.12.tar.gz \ 1.20 dahdi-fw-te820-1.76.tar.gz dahdi-fw-vpmoct032-1.12.0.tar.gz \ 1.21 +dahdi-fw-te133-7a001e.tar.gz dahdi-fw-te134-780017.tar.gz \ 1.22 +dahdi-fw-te435-13001e.tar.gz dahdi-fw-te436-10017.tar.gz \ 1.23 +dahdi-fw-a8b-1f001e.tar.gz dahdi-fw-a8a-1d0017.tar.gz \ 1.24 +dahdi-fw-a4b-d001e.tar.gz dahdi-fw-a4a-a0017.tar.gz \ 1.25 dahdi-fwload-vpmadt032-1.25.0.tar.gz" 1.26 1.27 DEPENDS="linux udev" 1.28 -BUILD_DEPENDS="linux-module-headers xz" 1.29 +BUILD_DEPENDS="linux-module-headers xz perl" 1.30 1.31 # Rules to gen a SliTaz package suitable for Tazpkg. 1.32 compile_rules() 1.33 { 1.34 - sed -i 's|/sbin/depmod|echo &|' Makefile 1.35 - sed -i 's/tar -xof/tar -xf/' drivers/dahdi/firmware/Makefile 1.36 + FIRMWARE_URL=http://downloads.digium.com/pub/telephony/firmware/releases 1.37 for i in $EXTRA_SOURCE_FILES ; do 1.38 - [ -s $SOURCES_REPOSITORY/$i ] || continue 1.39 + [ -s $SOURCES_REPOSITORY/$i ] || 1.40 + wget -P $SOURCES_REPOSITORY $FIRMWARE_URL/$i 1.41 cp $SOURCES_REPOSITORY/$i drivers/dahdi/firmware/ 1.42 tar xzf $SOURCES_REPOSITORY/$i -C drivers/dahdi/firmware/ 1.43 done 1.44 - find -type f | xargs sed -i -e 's/DECLARE_MUTEX/DEFINE_SEMAPHORE/g' \ 1.45 - -e 's/init_MUTEX\([^)]*\)/sema_init\1, 1/g' 1.46 make KVERS="/usr/src/linux" install 2>&1 | grep -v 'slitaz/modules' && 1.47 find $DESTDIR/lib/modules -name '*.ko' -exec xz {} \; 1.48 for i in $EXTRA_SOURCE_FILES ; do