diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/bwmon/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/bwmon/bwmon_1.3.bb | 16 | ||||
-rw-r--r-- | packages/bwmon/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/bwmon/files/makefile.patch | 18 |
4 files changed, 34 insertions, 0 deletions
diff --git a/packages/bwmon/.mtn2git_empty b/packages/bwmon/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/bwmon/.mtn2git_empty diff --git a/packages/bwmon/bwmon_1.3.bb b/packages/bwmon/bwmon_1.3.bb new file mode 100644 index 0000000000..25271641e7 --- /dev/null +++ b/packages/bwmon/bwmon_1.3.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "The Linux bandwidth monitor" +MAINTAINER = "Oyvind Repvik <nail@nslu2-linux.org" +DEPENDS = "ncurses" + +LICENSE = "Unspecified" +PR = "r0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/bwmon/${P}.tar.gz \ + file://makefile.patch;patch=1" +EXTRA_OEMAKE = "LDFLAGS=-L${STAGING_LIBDIR}" + +inherit autotools + +do_install () { + install ${S}/bwmon ${D}/usr/bin/bwmon +} diff --git a/packages/bwmon/files/.mtn2git_empty b/packages/bwmon/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/bwmon/files/.mtn2git_empty diff --git a/packages/bwmon/files/makefile.patch b/packages/bwmon/files/makefile.patch new file mode 100644 index 0000000000..b8e2b7abdc --- /dev/null +++ b/packages/bwmon/files/makefile.patch @@ -0,0 +1,18 @@ +--- bwmon-1.3/src/Makefile 2002-05-03 12:11:52.000000000 +0200 ++++ /home/repvik/Makefile 2005-08-02 04:17:43.021622816 +0200 +@@ -6,12 +6,12 @@ + # I used to provide a version for non-curses + # but I do not anymore + +-CC = gcc ++#CC = gcc + RM = /bin/rm +-INSTALL = install ++#INSTALL = install + + CFLAGS = -I../include -Wall -D__THREADS +-LDFLAGS = -lpthread -lncurses ++LDFLAGS += -lpthread -lncurses + + SRC = bwmon.c + OBJS = $(SRC:.c=.o) |