summaryrefslogtreecommitdiff
path: root/net/speedtouch/Makefile
diff options
context:
space:
mode:
authorskrll <skrll@pkgsrc.org>2004-12-23 18:11:18 +0000
committerskrll <skrll@pkgsrc.org>2004-12-23 18:11:18 +0000
commit66d3c5ee50eed730eab9100c56c40ad98ce494cf (patch)
tree854027673e974e327c13de1b955ace7312b27870 /net/speedtouch/Makefile
parente433714f0a4589ca29bd2723bc04d1f35e93e576 (diff)
downloadpkgsrc-66d3c5ee50eed730eab9100c56c40ad98ce494cf.tar.gz
Update speedtouch to 1.3.1.
The main changes is to support revision 4 modems (silver cycle helmet/beetle) and to use the threaded pppo3 if native threads are available. Tested on: - stringray by David Brownlee (abs@) and me - purple cycle helmet/beetle by David Brownlee - silver cycle helment/beetle by me
Diffstat (limited to 'net/speedtouch/Makefile')
-rw-r--r--net/speedtouch/Makefile44
1 files changed, 29 insertions, 15 deletions
diff --git a/net/speedtouch/Makefile b/net/speedtouch/Makefile
index 4d63741364c..42aaecc71fd 100644
--- a/net/speedtouch/Makefile
+++ b/net/speedtouch/Makefile
@@ -1,23 +1,35 @@
-# $NetBSD: Makefile,v 1.12 2004/12/19 16:48:36 abs Exp $
+# $NetBSD: Makefile,v 1.13 2004/12/23 18:11:18 skrll Exp $
#
-DISTNAME= speedtouch-1.2-beta2
-PKGREVISION= 3
-CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=speedtouch/} \
- http://www.alcatel.com/consumer/dsl/
-DISTFILES= ${DISTNAME}.tar.bz2 speedmgmt.tar.gz
+DISTNAME= speedtouch-1.3.1
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=speedtouch/}
+DISTFILES= ${DISTNAME}.tar.bz2
-MAINTAINER= abs@NetBSD.org
-HOMEPAGE= http://www.xsproject.org/speedtouch/
-COMMENT= Alcatel SpeedTouch USB ADSL modem driver
+#
+# Firmware license and link from:
+# http://www.speedtouch.com/driver_upgrade_lx_3.0.1.2.htm
+#
+FIRMWARE_SRCS= SpeedTouch330_firmware_3012.zip
+SITES_${FIRMWARE_SRCS}= http://www.speedtouch.com/download/drivers/USB/
+DISTFILES+= ${FIRMWARE_SRCS}
+EXTRACT_CMD_OPTS.zip= -Laqo -d ${WRKDIR}/firmware
+
+LICENSE= speedtouch-firmware-license
+
+MAINTAINER= abs@NetBSD.org
+HOMEPAGE= http://www.xsproject.org/speedtouch/
+COMMENT= Alcatel SpeedTouch USB ADSL modem driver
+
+DEPENDS+= userppp>=001107:../../net/userppp
-DEPENDS+= userppp>=001107:../../net/userppp
+USE_PKGINSTALL= yes
+GNU_CONFIGURE= yes
-USE_PKGINSTALL= yes
-GNU_CONFIGURE= yes
+RCD_SCRIPTS= adsl
-RCD_SCRIPTS= adsl
+pre-extract:
+ ${MKDIR} ${WRKDIR}/firmware
SAMPLECONF= ${WRKSRC}/doc-bsd/ppp.conf.sample
@@ -26,6 +38,8 @@ post-build:
${SED} 's:/usr/local:${PREFIX}:' ${SAMPLECONF}.pre > ${SAMPLECONF}
post-install:
- ${INSTALL_DATA} ${WRKDIR}/mgmt/mgmt.o ${PREFIX}/libdata/alcaudsl.sys
+ ${INSTALL_DATA_DIR} ${PREFIX}/libdata/speedtouch
+ ${INSTALL_DATA} ${WRKDIR}/firmware/kqd6_3.012 ${PREFIX}/libdata/speedtouch
+ ${INSTALL_DATA} ${WRKDIR}/firmware/zzzl_3.012 ${PREFIX}/libdata/speedtouch
.include "../../mk/bsd.pkg.mk"