+++ /dev/null
---- masqmail-0.2.20/configure.ac.orig 2005-11-11 16:36:05.894559778 -0800
-+++ masqmail-0.2.20/configure.ac 2005-11-11 16:36:19.935443315 -0800
-@@ -20,7 +20,7 @@ AC_STDC_HEADERS
- dnl AC_ARG_PROGRAM
- AC_PROG_RANLIB
-
--AM_PATH_GLIB
-+AM_PATH_GLIB_2_0
-
- dnl resolver support (default is use it)
- AC_ARG_ENABLE(resolver,
-# MasqMail from http://innominate.org/kurth/masqmail/
-DESCRIPTION = "MasqMail is a mail server designed for hosts that do not have a permanent internet connection eg. a home network or a single host at home. It has special support for connections to different ISPs. It replaces sendmail or other MTAs such as qmail or exim."
+DESCRIPTION = "MasqMail is a mail server designed for hosts that do not have \
+a permanent internet connection eg. a home network or a single host at home. \
+It has special support for connections to different ISPs. It replaces sendmail \
+or other MTAs such as qmail or exim."
HOMEPAGE = "http://innominate.org/kurth/masqmail/"
SECTION = "console/network"
PRIORITY = "optional"
LICENSE = "GPL"
-PR = "r0"
-
DEPENDS = "glib-2.0"
-SRC_URI = "http://innominate.org/kurth/masqmail/download/masqmail-${PV}.tar.gz"
-SRC_URI += "file://configure-ac-glib-2-0.patch;patch=1"
+SRC_URI = "${DEBIAN_MIRROR}/main/m/${PN}/${PN}_${PV}.orig.tar.gz"
+
+inherit autotools pkgconfig
EXTRA_OECONF += "--disable-glibtest"
EXTRA_OECONF += "--disable-resolver"
-EXTRA_OECONF += "--disable-debug"
# These are the standard Debian values for ownership of the programs,
# this stuff fakes out the install script chown operations then replicates
EXTRA_OECONF += "--with-group=$(id -g)"
IPKGBUILDCMD = "ipkg-build -o ${MAIL_USER} -g ${MAIL_GROUP}"
-
-inherit autotools