summaryrefslogtreecommitdiff
path: root/portsToCome/ptlib/Pkgfile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-27 10:13:52 +0200
committerErich Eckner <git@eckner.net>2018-05-27 10:13:52 +0200
commit14a8f5d3c7889f2046a008b1b1dc29f485ebb359 (patch)
tree644ebb60f7155dd5c139d233857684fbcd8546e6 /portsToCome/ptlib/Pkgfile
downloadcrux-ports-14a8f5d3c7889f2046a008b1b1dc29f485ebb359.tar.xz
initial commit
Diffstat (limited to 'portsToCome/ptlib/Pkgfile')
-rw-r--r--portsToCome/ptlib/Pkgfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/portsToCome/ptlib/Pkgfile b/portsToCome/ptlib/Pkgfile
new file mode 100644
index 0000000..08d352e
--- /dev/null
+++ b/portsToCome/ptlib/Pkgfile
@@ -0,0 +1,28 @@
+# Description: library needed by ekiga
+# URL: http://www.ekiga.org/
+# Maintainer: Erich Eckner, crux at eckner dot net
+# Depends on: autotools-dev, doxygen, pkg-config, bison, flex, libssl-dev, libldap2-dev, libsasl2-dev, libkrb5-dev, libexpat1-dev, libsdl1.2-dev, libdv4-dev, libv4l-dev, libasound2-dev
+
+name=ptlib
+version=2.16.2
+_vI=${version%%.*}
+_vII=${version#*.}
+_vII=${_vII%%.*}
+_vIII=${version#*.*.}
+_name='Procyon'
+release=1
+source=(https://sourceforge.net/projects/opalvoip/files/V$((_vI+1)).${_vII}%20${_name}/Stable%20${_vIII}/${name}-${version}.tar.bz2)
+
+build() {
+ cd $name-$version
+
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man
+
+ make
+ make DESTDIR=$PKG install
+# rm -r $PKG/usr/share/locale
+# rm -rf $PKG/usr/share/info
+}
+