summaryrefslogtreecommitdiff
path: root/packages/opkg/opkg_svn.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/opkg/opkg_svn.bb')
-rw-r--r--packages/opkg/opkg_svn.bb25
1 files changed, 25 insertions, 0 deletions
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.*"
+