summaryrefslogtreecommitdiff
path: root/packages/portmap/portmap.inc
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-01-11 22:46:48 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-01-11 22:46:48 +0000
commitbb77ce802e307ef58a2fe725f33ad181b025f16a (patch)
tree2e7953d2d5e6a64e7f2b968cd79d14f49e02803a /packages/portmap/portmap.inc
parentca9c8ed1d68721ada42a881f799f6f75fc4ba2a3 (diff)
portmap: use DEBIAN_MIRROR instead of hardcoding one
Diffstat (limited to 'packages/portmap/portmap.inc')
-rw-r--r--packages/portmap/portmap.inc15
1 files changed, 7 insertions, 8 deletions
diff --git a/packages/portmap/portmap.inc b/packages/portmap/portmap.inc
index ad477828fb..e7e7673001 100644
--- a/packages/portmap/portmap.inc
+++ b/packages/portmap/portmap.inc
@@ -2,17 +2,13 @@ DESCRIPTION = "RPC program number mapper."
SECTION = "console/network"
LICENSE = "GPL"
-SRC_URI = "http://www.uk.debian.org/debian/pool/main/p/portmap/portmap_5.orig.tar.gz \
- http://www.uk.debian.org/debian/pool/main/p/portmap/portmap_${PV}.diff.gz;patch=1 \
+SRC_URI = "${DEBIAN_MIRROR}/main/p/portmap/portmap_5.orig.tar.gz \
+ http://${DEBIAN_MIRROR}/main/p/portmap/portmap_${PV}.diff.gz;patch=1 \
file://no-libwrap.patch;patch=1;pnum=0 \
file://portmap.init \
file://make.patch;patch=1"
S = "${WORKDIR}/portmap_5beta"
-PACKAGES =+ "portmap-utils"
-FILES_portmap-utils = "/sbin/pmap_set /sbin/pmap_dump"
-FILES_${PN}-doc += "${docdir}"
-
INITSCRIPT_NAME = "portmap"
INITSCRIPT_PARAMS = "start 43 S . start 32 0 6 . stop 81 1 ."
@@ -27,6 +23,9 @@ do_compile() {
do_install() {
install -d ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/portmap.init ${D}${sysconfdir}/init.d/portmap
- oe_runmake 'docdir=${docdir}/portmap' \
- 'DESTDIR=${D}' install
+ oe_runmake 'docdir=${docdir}/portmap' 'DESTDIR=${D}' install
}
+
+PACKAGES =+ "portmap-utils"
+FILES_portmap-utils = "/sbin/pmap_set /sbin/pmap_dump"
+FILES_${PN}-doc += "${docdir}"