summaryrefslogtreecommitdiff
path: root/manualPorts/libircclient/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 /manualPorts/libircclient/Pkgfile
downloadcrux-ports-14a8f5d3c7889f2046a008b1b1dc29f485ebb359.tar.xz
initial commit
Diffstat (limited to 'manualPorts/libircclient/Pkgfile')
-rw-r--r--manualPorts/libircclient/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/manualPorts/libircclient/Pkgfile b/manualPorts/libircclient/Pkgfile
new file mode 100644
index 0000000..1f9e49d
--- /dev/null
+++ b/manualPorts/libircclient/Pkgfile
@@ -0,0 +1,26 @@
+# Description: Small fast portable c library for writing irc clients and bots
+# URL: http://www.ulduzsoft.com/libircclient/
+# Contributor: xcko shrdlu, xcko at bitmessage dot ch
+# Maintainer: Erich Eckner, crux at eckner dot net
+# Depends on: openssl
+
+name=libircclient
+version=1.9
+release=1
+source=(https://downloads.sourceforge.net/sourceforge/$name/$name-$version.tar.gz libircclient.diff)
+
+build() {
+ cd $name-$version
+ patch -p1 -i $SRC/libircclient.diff
+ ./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib \
+ --enable-openssl \
+ --enable-shared \
+ --enable-ipv6
+
+ make
+ make DESTDIR=$PKG install
+ gzip man/libircclient.1
+ install -Dm644 man/libircclient.1.gz $PKG/usr/share/man/man1/libircclient.1.gz
+}