summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-07-30 07:59:19 +0000
committerKoen Kooi <koen@openembedded.org>2007-07-30 07:59:19 +0000
commitd6838c087bacc4cd9e176c7d8d0bc6c5d2aa94e7 (patch)
tree6b1e16105c8ac4eb9dd1d9645c85bc1d8a4325f5
parent559a2f2e7d05469b7858af5aec6c6ec17c63dfa4 (diff)
networkmanager: add 0.6.5 release
-rw-r--r--packages/networkmanager/networkmanager.inc68
-rw-r--r--packages/networkmanager/networkmanager_0.6.5.bb10
-rw-r--r--packages/networkmanager/networkmanager_svn.bb60
3 files changed, 80 insertions, 58 deletions
diff --git a/packages/networkmanager/networkmanager.inc b/packages/networkmanager/networkmanager.inc
new file mode 100644
index 0000000000..0dbfdefcb8
--- /dev/null
+++ b/packages/networkmanager/networkmanager.inc
@@ -0,0 +1,68 @@
+DESCRIPTION = "NetworkManager"
+SECTION = "net/misc"
+LICENSE = "GPL"
+HOMEPAGE = "http://www.gnome.org"
+PRIORITY = "optional"
+DEPENDS = "libnl dbus dbus-glib hal gconf-dbus wireless-tools"
+RDEPENDS = "wpa-supplicant iproute2 dhcdbd"
+
+PR = "r0"
+
+SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/NetworkManager/0.6/NetworkManager-${PV}.tar.bz2 \
+ file://NetworkManager \
+ file://99_networkmanager"
+
+S = "${WORKDIR}/NetworkManager-${PV}/"
+
+
+EXTRA_OECONF = " \
+ --with-gnome \
+ --with-distro=debian \
+ --without-gcrypt \
+ --with-wpa_supplicant=/usr/sbin/wpa_supplicant \
+ --with-dhcdbd=/sbin/dhcdbd \
+ --with-ip=/sbin/ip"
+
+inherit autotools pkgconfig
+
+do_staging () {
+ autotools_stage_includes
+ oe_libinstall -C libnm-util libnm-util ${STAGING_LIBDIR}
+ oe_libinstall gnome/libnm_glib libnm_glib ${STAGING_LIBDIR}
+}
+
+do_install () {
+ oe_libinstall -C libnm-util libnm-util ${D}/usr/lib
+ oe_libinstall -C gnome/libnm_glib libnm_glib ${D}/usr/lib
+
+ oe_runmake -C src DESTDIR="${D}" install
+ install -d ${D}/etc/default/volatiles
+ install -m 0644 ${WORKDIR}/99_networkmanager ${D}/etc/default/volatiles
+ install -d ${D}/etc/init.d/
+ install -m 0755 ${WORKDIR}/NetworkManager ${D}/etc/init.d/
+ install -d ${D}/${datadir}/
+}
+
+pkg_postinst_${PN} () {
+if [ "x$D" != "x" ]; then
+ exit 1
+fi
+/etc/init.d/populate-volatile.sh update
+}
+
+PACKAGES =+ "libnmutil libnmglib"
+
+FILES_libnmutil += "${libdir}/libnm-util.so.*"
+FILES_libnmglib += "${libdir}/libnm_glib.so.*"
+
+FILES_${PN} += "${datadir} \
+ ${sbindir}/* \
+ ${bindir}/* \
+ ${sysconfdir} \
+ ${libexecdir}"
+
+FILES_${PN}-dev += "${incdir} \
+ ${libdir}/*.a \
+ ${libdir}/*.la \
+ ${libdir}/pkgconfig"
+
diff --git a/packages/networkmanager/networkmanager_0.6.5.bb b/packages/networkmanager/networkmanager_0.6.5.bb
new file mode 100644
index 0000000000..e6d21de286
--- /dev/null
+++ b/packages/networkmanager/networkmanager_0.6.5.bb
@@ -0,0 +1,10 @@
+require networkmanager.inc
+
+PR = "r0"
+
+SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/NetworkManager/0.6/NetworkManager-${PV}.tar.bz2 \
+ file://NetworkManager \
+ file://99_networkmanager"
+
+S = "${WORKDIR}/NetworkManager-${PV}/"
+
diff --git a/packages/networkmanager/networkmanager_svn.bb b/packages/networkmanager/networkmanager_svn.bb
index 604af0a729..d879381975 100644
--- a/packages/networkmanager/networkmanager_svn.bb
+++ b/packages/networkmanager/networkmanager_svn.bb
@@ -1,12 +1,6 @@
-DESCRIPTION = "NetworkManager"
-SECTION = "net/misc"
-LICENSE = "GPL"
-HOMEPAGE = "http://www.gnome.org"
-PRIORITY = "optional"
-DEPENDS = "libnl dbus dbus-glib hal gconf-dbus wireless-tools"
-RDEPENDS = "wpa-supplicant iproute2 dhcdbd"
-PV = "0.6.5+svn${SRCDATE}"
+require networkmanager.inc
+PV = "0.6.5+svn${SRCDATE}"
PR = "r0"
SRC_URI="svn://svn.gnome.org/svn/NetworkManager/branches;module=NETWORKMANAGER_0_6_0_RELEASE;proto=http \
@@ -15,56 +9,6 @@ SRC_URI="svn://svn.gnome.org/svn/NetworkManager/branches;module=NETWORKMANAGER_0
DEFAULT_PREFERENCE = "-1"
-EXTRA_OECONF = " \
- --with-gnome \
- --with-distro=debian \
- --without-gcrypt \
- --with-wpa_supplicant=/usr/sbin/wpa_supplicant \
- --with-dhcdbd=/sbin/dhcdbd \
- --with-ip=/sbin/ip"
-
S = "${WORKDIR}/NETWORKMANAGER_0_6_0_RELEASE"
-inherit autotools pkgconfig
-
-do_staging () {
- autotools_stage_includes
- oe_libinstall -C libnm-util libnm-util ${STAGING_LIBDIR}
- oe_libinstall gnome/libnm_glib libnm_glib ${STAGING_LIBDIR}
-}
-
-do_install () {
- oe_libinstall -C libnm-util libnm-util ${D}/usr/lib
- oe_libinstall -C gnome/libnm_glib libnm_glib ${D}/usr/lib
-
- oe_runmake -C src DESTDIR="${D}" install
- install -d ${D}/etc/default/volatiles
- install -m 0644 ${WORKDIR}/99_networkmanager ${D}/etc/default/volatiles
- install -d ${D}/etc/init.d/
- install -m 0755 ${WORKDIR}/NetworkManager ${D}/etc/init.d/
- install -d ${D}/${datadir}/
-}
-
-pkg_postinst_${PN} () {
-if [ "x$D" != "x" ]; then
- exit 1
-fi
-/etc/init.d/populate-volatile.sh update
-}
-
-PACKAGES =+ "libnmutil libnmglib"
-
-FILES_libnmutil += "${libdir}/libnm-util.so.*"
-FILES_libnmglib += "${libdir}/libnm_glib.so.*"
-
-FILES_${PN} += "${datadir} \
- ${sbindir}/* \
- ${bindir}/* \
- ${sysconfdir} \
- ${libexecdir}"
-
-FILES_${PN}-dev += "${incdir} \
- ${libdir}/*.a \
- ${libdir}/*.la \
- ${libdir}/pkgconfig"