summaryrefslogtreecommitdiff
path: root/devel/ptlib/Makefile
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2008-09-12 13:18:26 +0000
committerjmcneill <jmcneill@pkgsrc.org>2008-09-12 13:18:26 +0000
commit4acb055a3283ffa58aa75798c5a821fb52fb5b1f (patch)
tree47dc563ab43c55beb84fac41d7ae472602dd2f03 /devel/ptlib/Makefile
parentfc9831224f49bdfd925166ea548bf5f6b78fe70b (diff)
downloadpkgsrc-4acb055a3283ffa58aa75798c5a821fb52fb5b1f.tar.gz
PTLib is a multi-platform C++ class library. Programs based on PTLib can run
on both Microsoft Windows and Unix/Linux. The library contains both the "basic" classes (strings, arrays, lists) and the higher-level functionality (networking, multi-threading).
Diffstat (limited to 'devel/ptlib/Makefile')
-rw-r--r--devel/ptlib/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/devel/ptlib/Makefile b/devel/ptlib/Makefile
new file mode 100644
index 00000000000..4386192928a
--- /dev/null
+++ b/devel/ptlib/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/09/12 13:18:26 jmcneill Exp $
+
+DISTNAME= ptlib-snapshot-20080907
+PKGNAME= ptlib-2.3.0.20080907
+CATEGORIES= devel
+MASTER_SITES= http://snapshots.ekiga.net/snapshots/sources/archives/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.ekiga.net/
+COMMENT= Portable Windows Libary
+
+CONFLICTS+= pwlib-[0-9]*
+
+BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
+
+WRKSRC= ${WRKDIR}/ptlib
+USE_TOOLS+= gmake tar
+BUILD_TARGET= optshared
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --enable-plugins
+CONFIGURE_ARGS+= --enable-oss
+CONFIGURE_ARGS+= --enable-v4l2
+CONFIGURE_ARGS+= --enable-opal
+#CONFIGURE_ARGS+= --enable-samples
+CONFIGURE_ARGS+= --disable-bsdvideo
+CONFIGURE_ARGS+= --disable-sunaudio
+CONFIGURE_ARGS+= --disable-alsa
+CONFIGURE_ARGS+= --disable-avc
+CONFIGURE_ARGS+= --disable-dc
+PTHREAD_OPTS+= require
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/version.h ${PREFIX}/share/ptlib
+
+.include "../../graphics/libv4l/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/oss.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"