blob: 99e3ccacac6218395425f7c1340884ccd5f59855 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001HOMEPAGE = "http://www.alumnit.ca/wiki/?WvDial"
2DESCRIPTION = "WvDial is a program that makes it easy to connect your Linux workstation to the Internet."
3
Andrew Geissler9aee5002022-03-30 16:27:02 +00004LICENSE = "LGPL-2.0-only"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05005LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605"
6
Brad Bishop6e60e8b2018-02-01 10:27:11 -05007inherit pkgconfig
8
Patrick Williamsb48b7b42016-08-17 15:04:38 -05009DEPENDS = "wvstreams"
Patrick Williams213cb262021-08-07 19:21:33 -050010RDEPENDS:${PN} = "ppp"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050011
Andrew Geisslerd688a012020-09-18 13:36:00 -050012SRC_URI = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${BPN}/${BP}.tar.bz2 \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050013 file://typo_pon.wvdial.1.patch \
Brad Bishop26bdd442019-08-16 17:08:17 -040014 file://musl-support.patch \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050015 "
Patrick Williamsb48b7b42016-08-17 15:04:38 -050016SRC_URI[md5sum] = "37e9a2d664effe4efd44c0e1a20136de"
17SRC_URI[sha256sum] = "99906d9560cbdbc97e1855e7b0a7169f1e11983be3ac539140423f09debced82"
18
Patrick Williams213cb262021-08-07 19:21:33 -050019COMPATIBLE_HOST:libc-musl = "null"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050020EXTRA_OEMAKE = ""
21export WVLINK="${LD}"
22
23PARALLEL_MAKE = ""
24
Patrick Williamsb48b7b42016-08-17 15:04:38 -050025do_configure() {
26 sed -i 's/LDFLAGS+=-luniconf/LIBS+=-luniconf/' ${S}/Makefile
27}
28
29do_install() {
30 oe_runmake prefix=${D}/usr PPPDIR=${D}/etc/ppp/peers install
31}