opkg: added from OE

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3993 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Marcin Juszkiewicz 2008-03-14 09:35:40 +00:00
parent 3f659983bf
commit e210441666
3 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,19 @@
DESCRIPTION = "Files to make opkg and ipkg coexist"
RDEPENDS = "opkg ipkg ipkg-collateral"
PR = "r0"
PACKAGE_ARCH = "all"
do_compile() {
:
}
do_install () {
install -d ${D}${sysconfdir}
install -d ${D}/var/lib/ipkg
ln -sf ${sysconfdir}/ipkg.conf ${D}${sysconfdir}/opkg.conf
ln -sf ${sysconfdir}/ipkg/ ${D}${sysconfdir}/opkg
ln -sf /var/lib/ipkg ${D}/var/lib/ipkg
}

View File

@ -0,0 +1,10 @@
require opkg_svn.bb
DEPENDS = "curl-native"
target_libdir := "${libdir}"
inherit native
EXTRA_OECONF += "--with-opkglibdir=${target_libdir}/opkg -disable-gpg"

View File

@ -0,0 +1,21 @@
DESCRIPTION = "Open Package Manager"
DESCRIPTION_libopkg = "Open Package Manager Library"
SECTION = "base"
LICENSE = "GPL"
DEPENDS = "curl gpgme"
PV = "0.0+svnr${SRCREV}"
PR = "r1"
SRC_URI = "svn://svn.openmoko.org/trunk/src/target/;module=opkg;proto=http"
S = "${WORKDIR}/opkg"
inherit autotools pkgconfig
do_stage() {
autotools_stage_all
}
PACKAGES =+ "libopkg-dev libopkg"
FILES_libopkg-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so"
FILES_libopkg = "${libdir}/*.so.*"