summaryrefslogtreecommitdiff
path: root/packages/opkg/opkg_svn.bb
blob: 51c83f89680c2629b83711b592f6a89e89ea01a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
DESCRIPTION = "Open Package Manager"
DESCRIPTION_libipkg = "Open Package Manager Library"
SECTION = "base"
LICENSE = "GPL"
DEPENDS = "curl gpgme"
PV = "0.0+svnr${SRCREV}"
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.*"