summaryrefslogtreecommitdiff
path: root/recipes/pwlib/pwlib.inc
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2009-05-21 19:40:42 +0200
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2009-05-21 20:44:03 +0200
commit977b935c7a06637fb3eaa151a57a6870043e2c93 (patch)
tree4da1cb9b53e6a6ed4a50f7ac1b02e337a5f46d00 /recipes/pwlib/pwlib.inc
parentb2724ee710065d771d359231fcf45db825b201d6 (diff)
pwlib: update SRC_URI, unify and clean-up.
* build still fails, bug 1622 still open
Diffstat (limited to 'recipes/pwlib/pwlib.inc')
-rw-r--r--recipes/pwlib/pwlib.inc31
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes/pwlib/pwlib.inc b/recipes/pwlib/pwlib.inc
new file mode 100644
index 0000000000..981becf42f
--- /dev/null
+++ b/recipes/pwlib/pwlib.inc
@@ -0,0 +1,31 @@
+HOMEPAGE = "http://openh323.sourceforge.net/"
+DESCRIPTION = "Portable Text and GUI C/C++ Class Libarary."
+LICENSE = "GPL"
+DEPENDS = "openssl openldap"
+
+INC_PR = "r1"
+
+# Somebody should teach these people about naming tarballs ;-)
+MIN_VER ?= "1"
+SHRT_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}_${@bb.data.getVar('PV',d,1).split('.')[1]}_${@bb.data.getVar('PV',d,1).split('.')[1]}"
+SRC_URI = "http://www.voxgratia.org/releases/${PN}-v1_${SHRT_VER}-${MIN_VER}src.tar.gz"
+
+inherit autotools
+
+EXTRA_OECONF="--enable-ipv6 --disable-sasl --disable-sdl \
+ --disable-video --enable-plugins --with-plugins=oss"
+
+# Use openSSL
+
+export OPENSSLFLAG="1"
+export OPENSSLDIR="${STAGING_LIBDIR}"
+export OPENSSLLIBS="-lssl -lcrypt"
+export MACHTYPE="x86"
+export OSTYPE="linux"
+export OSRELEASE="openembedded"
+
+export CPLUS="${CXX}"
+
+do_compile() {
+ oe_runmake opt
+}