summaryrefslogtreecommitdiff
path: root/packages/vlan
diff options
context:
space:
mode:
authorEsben Haabendal <eha@doredevelopment.dk>2007-10-11 15:29:55 +0000
committerKoen Kooi <koen@openembedded.org>2007-10-11 15:29:55 +0000
commit5480a229480f1bc775aa4de16109d0eef875fb77 (patch)
tree829f4fa8c0c4bf4fa6e1ef5c4d208567f929400b /packages/vlan
parent6f39696a826f6a3512f1f61bb7b99800cc779263 (diff)
vlan: update to 1.9
Diffstat (limited to 'packages/vlan')
-rw-r--r--packages/vlan/vlan_1.9.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/vlan/vlan_1.9.bb b/packages/vlan/vlan_1.9.bb
new file mode 100644
index 0000000000..3a10e898ab
--- /dev/null
+++ b/packages/vlan/vlan_1.9.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "802.1q vlan support program"
+RRECOMMENDS = "kernel-module-8021q"
+PR = "r0"
+
+S = "${WORKDIR}/vlan/"
+
+SRC_URI = "http://www.candelatech.com/~greear/vlan/vlan.${PV}.tar.gz \
+ "
+
+inherit base
+
+CCFLAGS = "-g -D_GNU_SOURCE -Wall -I${STAGING_INCDIR}"
+LDLIBS = ""
+
+do_compile() {
+ ${CC} ${CCFLAGS} -c vconfig.c
+ ${CC} ${CCFLAGS} ${LDFLAGS} -o vconfig vconfig.o ${LDLIBS}
+}
+
+do_install() {
+ install -d "${D}${sbindir}"
+ install -m 755 "${S}/vconfig" "${D}${sbindir}/vconfig"
+}
+