New package: wvdial-1.61
This commit is contained in:
parent
86a6dd650e
commit
ec26890a06
|
@ -0,0 +1,12 @@
|
||||||
|
--- Makefile.in.orig 2014-12-11 02:14:39.418518774 +0100
|
||||||
|
+++ Makefile.in 2014-12-11 02:16:30.418510467 +0100
|
||||||
|
@@ -21,6 +21,8 @@ ifeq ($(PC_LIBS),)
|
||||||
|
endif
|
||||||
|
LIBS+=$(PC_LIBS)
|
||||||
|
|
||||||
|
+wvdial-LIBS+= -luniconf
|
||||||
|
+
|
||||||
|
BINDIR=${prefix}/bin
|
||||||
|
MANDIR=${prefix}/share/man
|
||||||
|
PPPDIR=/etc/ppp/peers
|
||||||
|
|
|
@ -0,0 +1,35 @@
|
||||||
|
=== modified file 'Makefile.in'
|
||||||
|
--- Makefile.in 2010-05-27 13:08:26 +0000
|
||||||
|
+++ Makefile.in 2010-05-27 13:08:41 +0000
|
||||||
|
@@ -3,7 +3,7 @@
|
||||||
|
WVPACKAGE_TARNAME=@PACKAGE_TARNAME@
|
||||||
|
WVPACKAGE_VERSION=@PACKAGE_VERSION@
|
||||||
|
|
||||||
|
-prefix=/usr/local
|
||||||
|
+prefix=${DESTDIR}/usr
|
||||||
|
WVSTREAMS_INC=
|
||||||
|
WVSTREAMS_LIB=
|
||||||
|
WVSTREAMS_BIN=$(prefix)/bin
|
||||||
|
@@ -23,7 +23,7 @@
|
||||||
|
|
||||||
|
BINDIR=${prefix}/bin
|
||||||
|
MANDIR=${prefix}/share/man
|
||||||
|
-PPPDIR=/etc/ppp/peers
|
||||||
|
+PPPDIR=${DESTDIR}/etc/ppp/peers
|
||||||
|
|
||||||
|
include wvrules.mk
|
||||||
|
|
||||||
|
|
||||||
|
=== modified file 'config.defaults.mk'
|
||||||
|
--- config.defaults.mk 2010-05-27 13:08:26 +0000
|
||||||
|
+++ config.defaults.mk 2010-05-27 13:43:03 +0000
|
||||||
|
@@ -13,7 +13,7 @@
|
||||||
|
LIBS_PAM=-lpam
|
||||||
|
LIBS_TCL=
|
||||||
|
|
||||||
|
-prefix=/usr/local
|
||||||
|
+prefix=${DESTDIR}/usr
|
||||||
|
datadir=${prefix}/share
|
||||||
|
includedir=${prefix}/include
|
||||||
|
infodir=${prefix}/share/info
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
--- wvrules-posix.mk
|
||||||
|
+++ wvrules-posix.mk
|
||||||
|
@@ -85,12 +85,15 @@
|
||||||
|
$(AR) s $1
|
||||||
|
endef
|
||||||
|
|
||||||
|
-CC: FORCE
|
||||||
|
+CC:
|
||||||
|
@CC="$(CC)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \
|
||||||
|
$(WVSTREAMS_SRC)/gen-cc CC c
|
||||||
|
|
||||||
|
-CXX: FORCE
|
||||||
|
+CXX:
|
||||||
|
@CC="$(CXX)" CFLAGS="$(CXXFLAGS)" CPPFLAGS="$(CPPFLAGS)" \
|
||||||
|
$(WVSTREAMS_SRC)/gen-cc CXX cc
|
||||||
|
|
||||||
|
+#All files must depend on the above two rules. This is a godawful hack.
|
||||||
|
+$(shell find -type f '(' -name '*.c' -o -name '*.cc' ')' ): CC CXX
|
||||||
|
+
|
||||||
|
wvlink=$(LINK_MSG)$(WVLINK_CC) $(LDFLAGS) $($1-LDFLAGS) -o $1 $(filter %.o %.a %.so, $2) $($1-LIBS) $(XX_LIBS) $(LDLIBS) $(PRELIBS) $(LIBS)
|
|
@ -0,0 +1,15 @@
|
||||||
|
# Template file for 'wvdial'
|
||||||
|
pkgname=wvdial
|
||||||
|
version=1.61
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
short_desc="Point-to-Point Protocol dialer"
|
||||||
|
maintainer="Enno Boland <eb@s01.de>"
|
||||||
|
license="GPL-2"
|
||||||
|
hostmakedepends="pkg-config"
|
||||||
|
makedepends="wvstreams-devel"
|
||||||
|
depends="ppp"
|
||||||
|
homepage="https://code.google.com/p/wvstreams/"
|
||||||
|
distfiles="https://wvstreams.googlecode.com/files/wvdial-$version.tar.gz"
|
||||||
|
checksum=4fffab9652c760199c074533d1d3929bea55ab4233b11e735b0f1856d1ceec57
|
||||||
|
conf_files="/etc/ppp/peers/wvdial /etc/ppp/peers/wvdial-pipe"
|
|
@ -14,7 +14,7 @@ configure_args="--without-dbus --without-tcl --without-qt"
|
||||||
conf_files="/etc/uniconf.conf"
|
conf_files="/etc/uniconf.conf"
|
||||||
|
|
||||||
wvstreams-devel_package() {
|
wvstreams-devel_package() {
|
||||||
depends="${sourcepkg}>=${version}_${revision} $makedepends"
|
depends="${sourcepkg}>=${version}_${revision} uniconf>=${version}_${revision} $makedepends"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
|
|
Loading…
Reference in New Issue