2008-03-17 12:59:15 +00:00
|
|
|
DESCRIPTION = "Open Package Manager"
|
|
|
|
DESCRIPTION_libopkg = "Open Package Manager Library"
|
2008-03-19 15:35:50 +00:00
|
|
|
DESCRIPTION_update-alternatives-cworth = "Update alternatives"
|
2008-03-17 12:59:15 +00:00
|
|
|
SECTION = "base"
|
|
|
|
LICENSE = "GPL"
|
2010-01-27 10:58:00 +00:00
|
|
|
DEPENDS = "curl gpgme openssl"
|
2010-01-13 22:06:05 +00:00
|
|
|
DEPENDS_virtclass-native = "curl-native"
|
|
|
|
DEPENDS_virtclass-nativesdk = "curl-nativesdk"
|
2008-03-17 12:59:15 +00:00
|
|
|
PV = "0.0+svnr${SRCREV}"
|
2009-10-05 20:11:16 +00:00
|
|
|
PE = "1"
|
2008-03-17 12:59:15 +00:00
|
|
|
|
2009-10-05 20:11:16 +00:00
|
|
|
SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \
|
|
|
|
file://opkg_unarchive.patch;patch=1;maxrev=201 \
|
2010-01-26 23:18:28 +00:00
|
|
|
file://add_vercmp.patch;patch=1 \
|
2010-01-29 11:36:52 +00:00
|
|
|
file://headerfix.patch;patch=1 \
|
2010-01-26 23:18:28 +00:00
|
|
|
file://logfix.patch;patch=1 "
|
2009-02-09 11:10:17 +00:00
|
|
|
|
2009-10-05 20:11:16 +00:00
|
|
|
S = "${WORKDIR}/trunk"
|
2008-03-17 12:59:15 +00:00
|
|
|
|
2010-01-13 22:06:05 +00:00
|
|
|
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/opkg"
|
|
|
|
|
2009-05-23 22:10:57 +00:00
|
|
|
# Werror gives all kinds bounds issuses with gcc 4.3.3
|
|
|
|
do_configure_prepend() {
|
|
|
|
sed -i -e s:-Werror::g ${S}/libopkg/Makefile.am
|
|
|
|
}
|
|
|
|
|
2008-12-27 01:13:47 +00:00
|
|
|
inherit autotools_stage pkgconfig
|
2010-01-13 22:06:05 +00:00
|
|
|
|
|
|
|
target_libdir := "${libdir}"
|
2010-01-27 14:44:27 +00:00
|
|
|
EXTRA_OECONF_virtclass-native = "--with-opkglibdir=${target_libdir} --disable-gpg --disable-curl --disable-openssl"
|
|
|
|
EXTRA_OECONF_virtclass-nativesdk = "--with-opkglibdir=${target_libdir} --disable-gpg --disable-curl --disable-openssl"
|
2010-01-13 22:06:05 +00:00
|
|
|
|
|
|
|
#PROVIDES_append_virtclass-native = "virtual/update-alternatives-native"
|
|
|
|
#RPROVIDES_${PN} += "update-alternatives-native"
|
|
|
|
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|