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"
|
2010-07-21 02:58:28 +00:00
|
|
|
HOMEPAGE = "http://code.google.com/p/opkg/"
|
|
|
|
BUGTRACKER = "http://code.google.com/p/opkg/issues/list"
|
|
|
|
LICENSE = "GPLv2+"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
|
|
|
|
file://src/opkg-cl.c;beginline=1;endline=20;md5=321f658c3f6b6c832e25c8850b5dffba"
|
2010-01-13 22:06:05 +00:00
|
|
|
DEPENDS_virtclass-native = "curl-native"
|
|
|
|
DEPENDS_virtclass-nativesdk = "curl-nativesdk"
|
2009-02-09 11:10:17 +00:00
|
|
|
|
2010-07-21 02:58:28 +00:00
|
|
|
PE = "1"
|
2008-03-17 12:59:15 +00:00
|
|
|
|
Convert to use direct access to the data store (instead of bb.data.*Var*())
This is the result of running the following over the metadata:
sed \
-e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \
-e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-i `grep -ril bb.data *`
(From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-09 15:00:01 +00:00
|
|
|
FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/opkg"
|
2010-01-13 22:06:05 +00:00
|
|
|
|
2009-05-23 22:10:57 +00:00
|
|
|
# Werror gives all kinds bounds issuses with gcc 4.3.3
|
|
|
|
do_configure_prepend() {
|
2010-07-21 02:58:28 +00:00
|
|
|
sed -i -e s:-Werror::g ${S}/libopkg/Makefile.am
|
2009-05-23 22:10:57 +00:00
|
|
|
}
|
|
|
|
|
2010-04-26 16:41:05 +00:00
|
|
|
inherit autotools pkgconfig
|
2011-05-15 06:47:04 +00:00
|
|
|
EXTRA_OECONF += " --disable-gpg \
|
|
|
|
--disable-openssl \
|
|
|
|
--disable-ssl-curl \
|
|
|
|
--disable-curl \
|
|
|
|
--disable-sha256"
|
2010-01-13 22:06:05 +00:00
|
|
|
|
2010-08-26 04:39:07 +00:00
|
|
|
target_localstatedir := "${localstatedir}"
|
2011-05-15 06:47:04 +00:00
|
|
|
EXTRA_OECONF += "--with-opkglibdir=${localstatedir}/lib"
|
2010-08-26 04:39:07 +00:00
|
|
|
EXTRA_OECONF_virtclass-native = "--with-opkglibdir=${target_localstatedir}/lib --disable-gpg --disable-curl --disable-openssl"
|
|
|
|
EXTRA_OECONF_virtclass-nativesdk = "--with-opkglibdir=${target_localstatedir}/lib --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"
|
2011-01-20 22:43:25 +00:00
|
|
|
|
|
|
|
PKGSUFFIX = ""
|
|
|
|
PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
|
2011-04-18 14:23:27 +00:00
|
|
|
|
|
|
|
# Define a variable to allow distros to run configure earlier.
|
|
|
|
# (for example, to enable loading of ethernet kernel modules before networking starts)
|
|
|
|
POSTINSTALL_INITPOSITION ?= "98"
|