summaryrefslogtreecommitdiff
path: root/recipes/pwlib/pwlib.inc
blob: 981becf42fd8694efed6efaac82e3b88a97e8c82 (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
29
30
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
}