Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | HOMEPAGE = "http://www.alumnit.ca/wiki/?WvDial" |
| 2 | DESCRIPTION = "WvDial is a program that makes it easy to connect your Linux workstation to the Internet." |
| 3 | |
| 4 | LICENSE = "LGPLv2" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605" |
| 6 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 7 | inherit pkgconfig |
| 8 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 9 | DEPENDS = "wvstreams" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 10 | RDEPENDS:${PN} = "ppp" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 11 | |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 12 | SRC_URI = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${BPN}/${BP}.tar.bz2 \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 13 | file://typo_pon.wvdial.1.patch \ |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 14 | file://musl-support.patch \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 15 | " |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 16 | SRC_URI[md5sum] = "37e9a2d664effe4efd44c0e1a20136de" |
| 17 | SRC_URI[sha256sum] = "99906d9560cbdbc97e1855e7b0a7169f1e11983be3ac539140423f09debced82" |
| 18 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 19 | COMPATIBLE_HOST:libc-musl = "null" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 20 | EXTRA_OEMAKE = "" |
| 21 | export WVLINK="${LD}" |
| 22 | |
| 23 | PARALLEL_MAKE = "" |
| 24 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 25 | do_configure() { |
| 26 | sed -i 's/LDFLAGS+=-luniconf/LIBS+=-luniconf/' ${S}/Makefile |
| 27 | } |
| 28 | |
| 29 | do_install() { |
| 30 | oe_runmake prefix=${D}/usr PPPDIR=${D}/etc/ppp/peers install |
| 31 | } |