1*4882a593SmuzhiyunHOMEPAGE = "http://www.alumnit.ca/wiki/?WvDial" 2*4882a593SmuzhiyunDESCRIPTION = "WvDial is a program that makes it easy to connect your Linux workstation to the Internet." 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunLICENSE = "LGPL-2.0-only" 5*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605" 6*4882a593Smuzhiyun 7*4882a593Smuzhiyuninherit pkgconfig 8*4882a593Smuzhiyun 9*4882a593SmuzhiyunDEPENDS = "wvstreams" 10*4882a593SmuzhiyunRDEPENDS:${PN} = "ppp" 11*4882a593Smuzhiyun 12*4882a593SmuzhiyunSRC_URI = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${BPN}/${BP}.tar.bz2 \ 13*4882a593Smuzhiyun file://typo_pon.wvdial.1.patch \ 14*4882a593Smuzhiyun file://musl-support.patch \ 15*4882a593Smuzhiyun " 16*4882a593SmuzhiyunSRC_URI[md5sum] = "37e9a2d664effe4efd44c0e1a20136de" 17*4882a593SmuzhiyunSRC_URI[sha256sum] = "99906d9560cbdbc97e1855e7b0a7169f1e11983be3ac539140423f09debced82" 18*4882a593Smuzhiyun 19*4882a593SmuzhiyunCOMPATIBLE_HOST:libc-musl = "null" 20*4882a593SmuzhiyunEXTRA_OEMAKE = "" 21*4882a593Smuzhiyunexport WVLINK="${LD}" 22*4882a593Smuzhiyun 23*4882a593SmuzhiyunPARALLEL_MAKE = "" 24*4882a593Smuzhiyun 25*4882a593Smuzhiyundo_configure() { 26*4882a593Smuzhiyun sed -i 's/LDFLAGS+=-luniconf/LIBS+=-luniconf/' ${S}/Makefile 27*4882a593Smuzhiyun} 28*4882a593Smuzhiyun 29*4882a593Smuzhiyundo_install() { 30*4882a593Smuzhiyun oe_runmake prefix=${D}/usr PPPDIR=${D}/etc/ppp/peers install 31*4882a593Smuzhiyun} 32