From c5a56ab1ced422a95034b8263692afc846d7cf1f Mon Sep 17 00:00:00 2001 From: Dennis Veatch Date: Mon, 9 Jul 2012 10:59:50 -0400 Subject: [PATCH] ntrack: Readding to moonbase. --- libs/ntrack/BUILD | 13 +++++++++++++ libs/ntrack/DEPENDS | 7 +++++++ libs/ntrack/DETAILS | 19 +++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 libs/ntrack/BUILD create mode 100644 libs/ntrack/DEPENDS create mode 100644 libs/ntrack/DETAILS diff --git a/libs/ntrack/BUILD b/libs/ntrack/BUILD new file mode 100644 index 00000000000..17aa4ed06ca --- /dev/null +++ b/libs/ntrack/BUILD @@ -0,0 +1,13 @@ +( + + find . -name 'Makefile*' -exec sed -i "s:-Werror::" {} \; && + + if in_depends $MODULE qt4 ; then + . /etc/profile.d/qt4.rc + fi && + + OPTS+=" --disable-static" && + + default_build + +) > $C_FIFO 2>&1 diff --git a/libs/ntrack/DEPENDS b/libs/ntrack/DEPENDS new file mode 100644 index 00000000000..0468674b28c --- /dev/null +++ b/libs/ntrack/DEPENDS @@ -0,0 +1,7 @@ +# ntrack depends on libnl or libnl2 or libnl3 we choose the newest one: libnl3 +depends libnl3 + +optional_depends glib-2 "--with-glib2" "--without-glib2" "for glib-2 bindings support" +optional_depends gobject-introspection "--with-gobject" "--without-gobject" "for introspection support" +optional_depends pygobject "--with-pygobject" "--without-pygobject" "for pygobject bindings support" +optional_depends qt4 "--with-qt4" "--without-qt4" "for qt4 support" diff --git a/libs/ntrack/DETAILS b/libs/ntrack/DETAILS new file mode 100644 index 00000000000..9e333a8cc07 --- /dev/null +++ b/libs/ntrack/DETAILS @@ -0,0 +1,19 @@ + MODULE=ntrack + VERSION=016 + SOURCE=$MODULE-$VERSION.tar.gz + SOURCE_URL=http://launchpad.net/ntrack/main/$VERSION/+download/ + SOURCE_VFY=sha1:693f618198f65c9bbb7a9ace250d536f167b192a + WEB_SITE=https://launchpad.net/ntrack + ENTERED=20110105 + UPDATED=20120202 + SHORT="get events on network online status changes" + +cat << EOF +ntrack aims to be a lightweight and easy to use library for application +developers that want to get events on network online status changes such as +online, offline or route changes. + +The primary goal is to serve desktop applications in a network manager and +desktop environment independent fashion. Also its supposed to be lightweight, +resource un-intensive and extensible. +EOF