summaryrefslogtreecommitdiff
path: root/packages/opkg/opkg_svn.bb
blob: 21f0ba582dde75b70c252d79796e1c6361c7a273 (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
DESCRIPTION = "Open Package Manager"
DESCRIPTION_libipkg = "Open Package Manager Library"
SECTION = "base"
LICENSE = "GPL"
DEPENDS = "curl gpgme pth"
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.*"