Files
poky/meta/packages/maemo/xpext_1.0-5.bb
Richard Purdie 44611fd69c xpext: Fix -dev/-dbg package dependencies
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3444 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-01-10 08:26:59 +00:00

32 lines
854 B
BlitzBasic

DESCRIPTION = "X Server Nokia 770 extensions library"
LICENSE= "MIT"
SECTION = "x11/libs"
PRIORITY = "optional"
DEPENDS = "virtual/libx11 libxext"
PR = "r1"
SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/x/${PN}/${PN}_${PV}.tar.gz \
file://auxdir.patch;patch=1;pnum=0"
S = "${WORKDIR}/xpext-1.0"
# ${PN} is empty so we need to tweak -dev and -dbg package dependencies
RDEPENDS_${PN}-dev = ""
RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${DEBPV})"
inherit autotools pkgconfig
do_configure_prepend () {
cd ${S}
chmod +x ./autogen.sh
./autogen.sh
}
do_stage() {
oe_runmake install prefix=${STAGING_DIR_HOST}${layout_prefix} \
bindir=${STAGING_BINDIR} \
includedir=${STAGING_INCDIR} \
libdir=${STAGING_LIBDIR} \
datadir=${STAGING_DATADIR} \
mandir=${STAGING_DIR_HOST}${layout_mandir}
}