diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-03-20 23:27:37 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-03-20 23:27:37 +0000 |
commit | 7ddd6d237490b74dd94357b80951a52ab59c6499 (patch) | |
tree | d9146e3e33f212d06fdd02a11045e101125342bd /dev-libs/pwlib | |
parent | Modular X dependency fix, bug #123115 (diff) | |
download | gentoo-2-7ddd6d237490b74dd94357b80951a52ab59c6499.tar.gz gentoo-2-7ddd6d237490b74dd94357b80951a52ab59c6499.tar.bz2 gentoo-2-7ddd6d237490b74dd94357b80951a52ab59c6499.zip |
version bump
(Portage version: 2.1_pre6-r4)
Diffstat (limited to 'dev-libs/pwlib')
-rw-r--r-- | dev-libs/pwlib/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/pwlib/Manifest | 93 | ||||
-rw-r--r-- | dev-libs/pwlib/files/digest-pwlib-1.10.0 | 3 | ||||
-rw-r--r-- | dev-libs/pwlib/files/pwlib-1.9.3-sdl-configure.patch | 48 | ||||
-rw-r--r-- | dev-libs/pwlib/pwlib-1.10.0.ebuild | 148 |
5 files changed, 278 insertions, 24 deletions
diff --git a/dev-libs/pwlib/ChangeLog b/dev-libs/pwlib/ChangeLog index 466275fbb25b..c6a4f60df268 100644 --- a/dev-libs/pwlib/ChangeLog +++ b/dev-libs/pwlib/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/pwlib -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/ChangeLog,v 1.93 2005/09/17 15:06:22 kloeri Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/ChangeLog,v 1.94 2006/03/20 23:27:37 genstef Exp $ + +*pwlib-1.10.0 (20 Mar 2006) + + 20 Mar 2006; Stefan Schweizer <genstef@gentoo.org> + +files/pwlib-1.9.3-sdl-configure.patch, +pwlib-1.10.0.ebuild: + version bump *pwlib-1.8.7 (12 Sep 2005) diff --git a/dev-libs/pwlib/Manifest b/dev-libs/pwlib/Manifest index ddfad50a4c75..a43f0a3e5562 100644 --- a/dev-libs/pwlib/Manifest +++ b/dev-libs/pwlib/Manifest @@ -1,35 +1,84 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 e7e31f6f265883cdf48d812f42a9f856 metadata.xml 235 -MD5 7b71ebcce6d852f0dc6738ee8b77ea49 pwlib-1.5.0-r1.ebuild 2403 -MD5 4690d9e7395046ed1c573e68a47bd053 pwlib-1.5.0.ebuild 2304 -MD5 8a3df2068f3fa7e096c3dc77cc28e7ea pwlib-1.5.2-r3.ebuild 2993 -MD5 ae4e2d28a1696afcf545ed158be25bd7 pwlib-1.6.3-r3.ebuild 4338 -MD5 233dc6b0601309ce4da5385aa36e5bdc pwlib-1.6.6-r2.ebuild 4546 -MD5 00ce2a439ee24cd57f8c947d8fcadea1 pwlib-1.8.3-r1.ebuild 4465 -MD5 cad8c6f27ca92756b593272323ca3d25 pwlib-1.8.4.ebuild 4341 -MD5 9cb5e3302d0aa5f69c8c289646c93891 pwlib-1.8.7.ebuild 4075 -MD5 73fb74030da02621fdfeaff47183c430 ChangeLog 14752 +MD5 d7731488a62852f467ffffac5244520f ChangeLog 14914 +RMD160 b0a9f8923c22a497c477e1c88eff77d44000f0fb ChangeLog 14914 +SHA256 177e6f605d0b9d9fca30bfdeb5a4a2987f906a12fd90a5517548fa8da4384f4c ChangeLog 14914 +MD5 e75b1e9ed282919b963de08f047bc69f files/digest-pwlib-1.10.0 241 +RMD160 dee98852a31e19f87c840b2435ed03d1b6afe9e8 files/digest-pwlib-1.10.0 241 +SHA256 d646df1b3934423b54ef64267d7056015b2b4127cc4b413458e5132ce9fc03b2 files/digest-pwlib-1.10.0 241 MD5 67bcec54ffa82d8da3b0c0e2f23daf7e files/digest-pwlib-1.5.0 64 +RMD160 ede7d3390aef362bf21c63cace6ea85283ba0b49 files/digest-pwlib-1.5.0 64 +SHA256 1e3b6b5f85e8bb586326499b97ee224cd9e940bb7350dbc130b8f471ec402434 files/digest-pwlib-1.5.0 64 MD5 67bcec54ffa82d8da3b0c0e2f23daf7e files/digest-pwlib-1.5.0-r1 64 +RMD160 ede7d3390aef362bf21c63cace6ea85283ba0b49 files/digest-pwlib-1.5.0-r1 64 +SHA256 1e3b6b5f85e8bb586326499b97ee224cd9e940bb7350dbc130b8f471ec402434 files/digest-pwlib-1.5.0-r1 64 MD5 4fc6a7891d23db3dc2837f825afa2324 files/digest-pwlib-1.5.2-r3 64 +RMD160 8cf27eaf6735df23af13e43f1581f239ce813a1b files/digest-pwlib-1.5.2-r3 64 +SHA256 f9561b6da8ec673f268cdd5dc25fdb1a7a8dbf3abd4acb9861fcd6230e5f56c9 files/digest-pwlib-1.5.2-r3 64 MD5 6702f9a296ccf661275cf6a2284bf6bf files/digest-pwlib-1.6.3-r3 64 +RMD160 29d767892bedee6c26764dabe2e17bd7025534c9 files/digest-pwlib-1.6.3-r3 64 +SHA256 892fbc9800143caeea26835782e2d0732f6c1d515e1cb9599a0db9f143c6d9ff files/digest-pwlib-1.6.3-r3 64 MD5 3057a7e05b6e701041865f26fd1fb8c3 files/digest-pwlib-1.6.6-r2 69 +RMD160 c1625f314aaa6d02637be52980b0660dee47536e files/digest-pwlib-1.6.6-r2 69 +SHA256 ad3953aa43f4721a418dce9a14db87f23c18eb00389bb2f731dba26710a0dd39 files/digest-pwlib-1.6.6-r2 69 MD5 66bc7e154effc3454029566adff8a2f7 files/digest-pwlib-1.8.3-r1 69 +RMD160 00a2031d1062fde769bcfb989b78cff8d123690d files/digest-pwlib-1.8.3-r1 69 +SHA256 778cbe52cb05b523a583c9e48c329ddc6174de08216a57a499b488f2784ba9f2 files/digest-pwlib-1.8.3-r1 69 MD5 7727b16f2fbed2161f1bc6c38aacaa36 files/digest-pwlib-1.8.4 64 +RMD160 a3b80321b4f46c23169e23b588d939dd6ee42267 files/digest-pwlib-1.8.4 64 +SHA256 ae2ae13ae6a3830f3b00d89a25de72a53506afab6da33e72f025c115aea25969 files/digest-pwlib-1.8.4 64 +MD5 a874e4383164981b3881c8f636ec842b files/digest-pwlib-1.8.7 64 +RMD160 aaa29d0774f1df3f5cf8092a6a24b48318c35b75 files/digest-pwlib-1.8.7 64 +SHA256 b82851817950af6db90f71bc63811c32175016b5d6843101f9481071d623697b files/digest-pwlib-1.8.7 64 MD5 0a9a8c5a1417127269e2e0f24ded1b2c files/pwlib-1.5.0-r1-gentoo.diff 391 +RMD160 5fa8bfc2c4b27a495c54f0610314888f6cb12526 files/pwlib-1.5.0-r1-gentoo.diff 391 +SHA256 eaf7a4188e746db29c2809366f7ee9dffde36d5d70032988c7a684ddbb2beab8 files/pwlib-1.5.0-r1-gentoo.diff 391 MD5 8c6469f000dea2a13869631fcedbe0ff files/pwlib-1.5.2-asnparser-secfix.diff 1299 +RMD160 9cbd32778be7bc7484aa179d282ff7590b9875d8 files/pwlib-1.5.2-asnparser-secfix.diff 1299 +SHA256 463f6bcb1f759433eb8e253508c527c497c8543ef306e6322110dfd31e6421e2 files/pwlib-1.5.2-asnparser-secfix.diff 1299 +MD5 94fe183a68413eaeb8242cd30532d963 files/pwlib-1.6.3-dyn-esd.patch 366 +RMD160 1afe15d6578da7de00293edc4818b54fc1ca5540 files/pwlib-1.6.3-dyn-esd.patch 366 +SHA256 1c84ea308fcaa1d38d348dd79ed936034a7528368285982e7101ba0b79ff94b9 files/pwlib-1.6.3-dyn-esd.patch 366 MD5 0fbee42a70e13b6fe530a1f1ca8086ac files/pwlib-1.6.6-alsa_dmix.diff 7450 +RMD160 f393b89f1c8dca190b6252b02ca459f0d27526e5 files/pwlib-1.6.6-alsa_dmix.diff 7450 +SHA256 b544a297b257c9d6cc160012faddc93af683aa454f5ddc6548740ec01250cdfe files/pwlib-1.6.6-alsa_dmix.diff 7450 MD5 ef62669acbbbc63a30d475ca9865adb6 files/pwlib-1.6.6-ieee1394dc-fix.diff 7207 -MD5 94fe183a68413eaeb8242cd30532d963 files/pwlib-1.6.3-dyn-esd.patch 366 +RMD160 8020610ca1bfb6e0d565297100ba90b337770e5e files/pwlib-1.6.6-ieee1394dc-fix.diff 7207 +SHA256 ee9b8b13cb82ae7f5a9104d64fd0f329693df2daf54cea5bd26a2a893ad12e35 files/pwlib-1.6.6-ieee1394dc-fix.diff 7207 MD5 6aa40def4f33c78a2c05f91aeda058c1 files/pwlib-1.8.4-gcc4.diff 1574 -MD5 a874e4383164981b3881c8f636ec842b files/digest-pwlib-1.8.7 64 +RMD160 6ed6e3c8fc9532472516cd140f8b61b56a639116 files/pwlib-1.8.4-gcc4.diff 1574 +SHA256 051a9c0b01254ab919b911320bddef16f92f68adcac952a6a671ea24c2f5bb9e files/pwlib-1.8.4-gcc4.diff 1574 MD5 cd832010589d81cab25d2523d62a3401 files/pwlib-1.8.7-instplugins.diff 1044 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDLDEGKf2g/qXtneoRAnzXAJ4jbtEaPK5YxCfuETF/+nZ0ofArFwCdEh4U -uOTO9ROsdE7AKj2HfyItqjw= -=czqr ------END PGP SIGNATURE----- +RMD160 722bc5e665f787e14f9d0e54679c8ba3fcc5e7e6 files/pwlib-1.8.7-instplugins.diff 1044 +SHA256 39e0b892ae1aa82af87a92a71c8ba78a84ee18984732856ce2f228a6d4340552 files/pwlib-1.8.7-instplugins.diff 1044 +MD5 e6f4109b8afd168be571ddc00b16707b files/pwlib-1.9.3-sdl-configure.patch 1403 +RMD160 240822a74944a5f54f147023b50966c72a232f24 files/pwlib-1.9.3-sdl-configure.patch 1403 +SHA256 467c44ad1d8d2c6f76e712e908476d3a1f948d5e3b1412546f1fb0b776068052 files/pwlib-1.9.3-sdl-configure.patch 1403 +MD5 e7e31f6f265883cdf48d812f42a9f856 metadata.xml 235 +RMD160 1373a565e08a962328dc14bb2ccd2ed31f887a91 metadata.xml 235 +SHA256 6b190d921eb507c8ae01261acc24b4c26d9a7efdd79e244efda043d8d0b66756 metadata.xml 235 +MD5 cc443eeb72eba71ddbcbb74d003f96f9 pwlib-1.10.0.ebuild 4383 +RMD160 77da533b05f6eaf3217c6c546231bdc76026e399 pwlib-1.10.0.ebuild 4383 +SHA256 c87d3dd202fd1af31f985b8398d484d248346f64fc213484bee9db2a7cc8a485 pwlib-1.10.0.ebuild 4383 +MD5 7b71ebcce6d852f0dc6738ee8b77ea49 pwlib-1.5.0-r1.ebuild 2403 +RMD160 1dcbc0cf473bc53579c66434ca8e8674e3953163 pwlib-1.5.0-r1.ebuild 2403 +SHA256 b1c06e307fc870f5bced97ce8c4506cfb2c5f47506b5bd441bda5f3c4ca5faa0 pwlib-1.5.0-r1.ebuild 2403 +MD5 4690d9e7395046ed1c573e68a47bd053 pwlib-1.5.0.ebuild 2304 +RMD160 db44fa968d38c112e2d6cf0220c2f62ff5bb9ba2 pwlib-1.5.0.ebuild 2304 +SHA256 8e1298cf9acb087a62e1d9067ddded2e616a25b2e478b4c6e6a9006cd513575e pwlib-1.5.0.ebuild 2304 +MD5 8a3df2068f3fa7e096c3dc77cc28e7ea pwlib-1.5.2-r3.ebuild 2993 +RMD160 cca125f25eafb84e302c83b70e474ec48edc5119 pwlib-1.5.2-r3.ebuild 2993 +SHA256 167e62e52bad008b4f617b8deae40ab11b3d051ef6ba4eb3c57ede51cb15ad85 pwlib-1.5.2-r3.ebuild 2993 +MD5 ae4e2d28a1696afcf545ed158be25bd7 pwlib-1.6.3-r3.ebuild 4338 +RMD160 cf7d20715361a0f456c265bb893660697d1dfa5f pwlib-1.6.3-r3.ebuild 4338 +SHA256 4849929f966e3a73f7fbb103dc4751fb46bbf19258d951e7a0d3121868b4c3b9 pwlib-1.6.3-r3.ebuild 4338 +MD5 233dc6b0601309ce4da5385aa36e5bdc pwlib-1.6.6-r2.ebuild 4546 +RMD160 952171286f195e37c7d856a5568831928071dd3d pwlib-1.6.6-r2.ebuild 4546 +SHA256 f65f2b9de6d83b275ff8a2fbe024629b4bebe22f6ba0e3e7e3fb2aabca3d05f0 pwlib-1.6.6-r2.ebuild 4546 +MD5 00ce2a439ee24cd57f8c947d8fcadea1 pwlib-1.8.3-r1.ebuild 4465 +RMD160 027bd4d4c67a470917cb83d6034adbe9a112f17d pwlib-1.8.3-r1.ebuild 4465 +SHA256 3e324a959686e45d34949715d6b6dc51c95b309b0d03bd5f98f3f4b82dc6e727 pwlib-1.8.3-r1.ebuild 4465 +MD5 cad8c6f27ca92756b593272323ca3d25 pwlib-1.8.4.ebuild 4341 +RMD160 b0f8d77959a9e653163deb17e2909bdf1bf246ab pwlib-1.8.4.ebuild 4341 +SHA256 0b63ea3143ee5f6d39a04d2f8bd22498602cf01cdc3c9c969bc41e452d6ff538 pwlib-1.8.4.ebuild 4341 +MD5 9cb5e3302d0aa5f69c8c289646c93891 pwlib-1.8.7.ebuild 4075 +RMD160 0789e04370bf1561551dbe4ecc67f18e79bd16fe pwlib-1.8.7.ebuild 4075 +SHA256 18dc0806691e525549190870fc939f9cf701ccbe26c91a01779a6b3ed31a2669 pwlib-1.8.7.ebuild 4075 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.10.0 b/dev-libs/pwlib/files/digest-pwlib-1.10.0 new file mode 100644 index 000000000000..405b316bcac2 --- /dev/null +++ b/dev-libs/pwlib/files/digest-pwlib-1.10.0 @@ -0,0 +1,3 @@ +MD5 97da19588bdc25cd8b48afb135eded1d pwlib-1.10.0.tar.gz 1480233 +RMD160 5341a4d21996472665032b3cfcc184f04435ddab pwlib-1.10.0.tar.gz 1480233 +SHA256 3bcbb47600061b6872215fbc68e7f04566a93bc602fa008636c85d47be5f5c00 pwlib-1.10.0.tar.gz 1480233 diff --git a/dev-libs/pwlib/files/pwlib-1.9.3-sdl-configure.patch b/dev-libs/pwlib/files/pwlib-1.9.3-sdl-configure.patch new file mode 100644 index 000000000000..bf8f4020dcda --- /dev/null +++ b/dev-libs/pwlib/files/pwlib-1.9.3-sdl-configure.patch @@ -0,0 +1,48 @@ +--- pwlib-1.9.3/configure.ac.orig 2006-01-31 10:23:43.000000000 +0100 ++++ pwlib-1.9.3/configure.ac 2006-02-16 00:42:27.000000000 +0100 +@@ -1476,6 +1476,7 @@ + AC_ARG_ENABLE(sdl, + [ --disable-sdl disable SDL support]) + ++ + if test "${enable_sdl}z" = "z" ; then + enable_sdl=$default_sdl + fi +@@ -1485,6 +1486,9 @@ + AC_MSG_NOTICE(SDL disabled) + AC_DEFINE(P_SDL, 0) + else ++ dnl check for sdl-config ++ AC_PATH_PROG([SDL_CONFIG], [sdl-config],, [$PATH:/usr/local/bin]) ++ + dnl SDL checks + if test "${SDLLIB:-unset}" = "unset" ; then + SDLLIB=SDL +@@ -1496,7 +1500,13 @@ + if test "${X11LIBDIR:-unset}" == "unset" ; then + X11LIBDIR=/usr/X11R6/lib + fi +- AC_CHECK_LIB(SDL, SDL_CreateYUVOverlay, HAS_SDL=1, HAS_SDL=, -L${X11LIBDIR} -lpthread -lX11 -lXext) ++ if test "x${SDL_CONFIG}" = "x" ; then ++ SDL_LIBS="-L${X11LIBDIR} -lpthread -lX11 -lXext -laa" ++ else ++ SDL_LIBS="`${SDL_CONFIG} --libs`" ++ fi ++ ++ AC_CHECK_LIB([SDL], [SDL_CreateYUVOverlay], [HAS_SDL=1], [HAS_SDL=], [$SDL_LIBS]) + fi + + dnl freeBSD SDL check +@@ -1516,7 +1526,11 @@ + if test ${SDLLIBDIR:-unset} != "unset" ; then + LDFLAGS="$LDFLAGS -L${SDLLIBDIR}" + fi +- ENDLDLIBS="$ENDLDLIBS -l${SDLLIB}" ++ if test "x${SDL_CONFIG}" = "x" ; then ++ ENDLDLIBS="$ENDLDLIBS -l${SDLLIB}" ++ else ++ ENDLDLIBS="$ENDLDLIBS `${SDL_CONFIG} --libs`" ++ fi + fi + fi + AC_SUBST(HAS_SDL) diff --git a/dev-libs/pwlib/pwlib-1.10.0.ebuild b/dev-libs/pwlib/pwlib-1.10.0.ebuild new file mode 100644 index 000000000000..abd0e5c48aea --- /dev/null +++ b/dev-libs/pwlib/pwlib-1.10.0.ebuild @@ -0,0 +1,148 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.10.0.ebuild,v 1.1 2006/03/20 23:27:37 genstef Exp $ + +inherit eutils flag-o-matic multilib + +IUSE="alsa debug ieee1394 ipv6 ldap oss sasl sdl ssl v4l v4l2 xml" + +DESCRIPTION="Portable Multiplatform Class Libraries used by several VoIP applications" +HOMEPAGE="http://www.ekiga.org" +SRC_URI="http://www.ekiga.org/admin/downloads/latest/sources/sources/${P}.tar.gz" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +RDEPEND="alsa? ( media-libs/alsa-lib ) + ieee1394? ( media-libs/libdv + sys-libs/libavc1394 + sys-libs/libraw1394 + <media-libs/libdc1394-1.9.99 + !>=media-libs/libdc1394-2.0.0_pre1 ) + ldap? ( net-nds/openldap ) + sasl? ( dev-libs/cyrus-sasl ) + sdl? ( media-libs/libsdl ) + ssl? ( dev-libs/openssl ) + xml? ( dev-libs/expat )" +DEPEND="${RDEPEND} + >=sys-devel/bison-1.28 + >=sys-devel/flex-2.5.4a + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + cd ${S} + + # filter out -O3, -Os and -mcpu embedded compiler flags + sed -i \ + -e "s:-mcpu=\$(CPUTYPE)::" \ + -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ + -e "s:-Os::" \ + make/unix.mak + + # don't break make install if there are no plugins to install + epatch ${FILESDIR}/pwlib-1.8.7-instplugins.diff + +# # fix "command not found" error during configure run +# epatch ${FILESDIR}/pwlib-1.9.2-ldap-configure.patch + + # use sdl-config to query required libraries + epatch ${FILESDIR}/pwlib-1.9.3-sdl-configure.patch + + autoconf || die "autoconf failed" +} + +src_compile() { + # may cause ICE (bug #70638) + filter-flags -fstack-protector + + econf \ + --enable-plugins \ + $(use_enable v4l2) \ + $(use_enable v4l) \ + $(use_enable ieee1394 dc) \ + $(use_enable ieee1394 avc) \ + $(use_enable oss) \ + $(use_enable alsa) \ + $(use_enable ipv6) \ + $(use_enable sdl) \ + $(use_enable ssl openssl) \ + $(use_enable debug exceptions) \ + $(use_enable debug memcheck) \ + $(use_enable ldap openldap) \ + $(use_enable sasl) \ + $(use_enable xml expat) \ + || die "configure failed" + + # Horrible hack to strip out -L/usr/lib to allow upgrades + # problem is it adds -L/usr/lib before -L${S} when SSL is + # enabled. Same thing for -I/usr/include. +# sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \ +# -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \ +# ${S}/make/ptbuildopts.mak + +# sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \ +# -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \ +# -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \ +# ${S}/make/ptlib-config + + emake -j1 opt || die "make failed" +} + +src_install() { + local libdir libname + + libdir=$(get_libdir) + + # makefile doesn't create ${D}/usr/bin + make PREFIX=/usr DESTDIR=${D} install || die "install failed" + + ## vv will try to fix the mess below, requires a lot of patching though... + + # update 2005/08/22: + # + # locations in *.mak files haven been fixed + # directories have been replaced w/ symlinks + # (left to not break things, doing some testing atm) + + # Note: reactivating this seems to be the only easy solution to slot pwlib ebuild + # and keep applications happy (e.g. gnomemeeting / ekiga) + +# dosym /usr/include /usr/share/pwlib/include +# dosym /usr/${libdir} /usr/share/pwlib/${libdir} +# +# # just in case... +# if [[ "${libdir}" = "lib64" ]]; then +# dosym /usr/share/pwlib/lib64 /usr/share/pwlib/lib +# fi + + ## ^^ bad stuff + + # fix symlink + libname=$(basename `ls ${D}/usr/${libdir}/libpt_*_*_r.so.${PV}`) + rm ${D}/usr/${libdir}/libpt.so + dosym ${libname} /usr/${libdir}/libpt.so + + # fix makefiles to use headers from /usr/include and libs from /usr/lib + # instead of /usr/share/pwlib + # Note: change to /usr/include/pwlib-${PV} (or whereever includes will be) + # once pwlib ebuilds get slotted + sed -i -e "s:-I\$(PWLIBDIR)\(/include[a-zA-Z0-9_/-]\+\):-I/usr/include\1:g" \ + -e "s:-I\$(PWLIBDIR)/include::g" \ + -e "s:^\(PW_LIBDIR[ \t]\+=\).*:\1 /usr/${libdir}:" \ + ${D}/usr/share/pwlib/make/*.mak + + # dodgy configure/makefiles forget to expand this + # Note: change to /usr/share/pwlib/${PV} (or whatever PWLIBDIR should point to) + # once pwlib ebuilds get slotted + sed -i -e "s:\${exec_prefix}:/usr:" \ + ${D}/usr/bin/ptlib-config \ + ${D}/usr/share/pwlib/make/ptlib-config + + # copy version.h + insinto /usr/share/pwlib + doins version.h + + dodoc ReadMe.txt ReadMe_QOS.txt History.txt mpl-1.0.htm +} |