summaryrefslogtreecommitdiff
path: root/meta/packages/opkg/opkg.inc
blob: 0b1db89c8aef2785b09cf75fd43242ceb73cea95 (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
27
28
DESCRIPTION = "Open Package Manager"
DESCRIPTION_libopkg = "Open Package Manager Library"
DESCRIPTION_update-alternatives-cworth = "Update alternatives"
SECTION = "base"
LICENSE = "GPL"
DEPENDS = "curl gpgme"
PV = "0.0+svnr${SRCREV}"

# opkg-fix-gcc-warnings.patch: the patch is already upstreamed and could be
#                              taken out once okpg is updated to new repo
#                              http://opkg.googlecode.com/svn/trunk
#                              with rev >= 150

# sighandlerfix.patch: from r145

SRC_URI = "svn://svn.openmoko.org/trunk/src/target/;module=opkg;proto=http \
           file://fix_prototype.patch;patch=1 \
           file://sighandlerfix.patch;patch=1 \
           file://opkg-fix-gcc-warnings.patch;patch=1"

S = "${WORKDIR}/opkg"

# Werror gives all kinds bounds issuses with gcc 4.3.3
do_configure_prepend() {
    sed -i -e s:-Werror::g ${S}/libopkg/Makefile.am
}

inherit autotools_stage pkgconfig