summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/opkg/.mtn2git_empty0
-rw-r--r--packages/opkg/opkg_svn.bb25
2 files changed, 25 insertions, 0 deletions
diff --git a/packages/opkg/.mtn2git_empty b/packages/opkg/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/opkg/.mtn2git_empty
diff --git a/packages/opkg/opkg_svn.bb b/packages/opkg/opkg_svn.bb
new file mode 100644
index 0000000000..0c6f5c5e58
--- /dev/null
+++ b/packages/opkg/opkg_svn.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "Open Package Manager"
+DESCRIPTION_libipkg = "Open Package Manager Library"
+SECTION = "base"
+LICENSE = "GPL"
+DEPENDS = "curl"
+SRC_URI = "svn://svn.openmoko.org/trunk/src/target/;module=opkg;proto=http"
+
+S = "${WORKDIR}/opkg"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ oe_libinstall -so libopkg ${STAGING_LIBDIR}
+ install -d ${STAGING_INCDIR}/libopkg/
+ for f in *.h
+ do
+ install -m 0644 $f ${STAGING_INCDIR}/libopkg/
+ done
+}
+
+PACKAGES =+ "libopkg-dev libopkg"
+
+FILES_libopkg-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so"
+FILES_libopkg = "${libdir}/*.so.*"
+