summaryrefslogtreecommitdiff
path: root/community/libircclient
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/libircclient
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/libircclient')
-rw-r--r--community/libircclient/PKGBUILD51
-rw-r--r--community/libircclient/shared.patch44
2 files changed, 0 insertions, 95 deletions
diff --git a/community/libircclient/PKGBUILD b/community/libircclient/PKGBUILD
deleted file mode 100644
index cba8f34e7..000000000
--- a/community/libircclient/PKGBUILD
+++ /dev/null
@@ -1,51 +0,0 @@
-# $Id: PKGBUILD 93508 2013-07-04 20:56:31Z bpiotrowski $
-# Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com>
-# Maintainer: SpepS <dreamspepser at yahoo dot it>
-# Contributor: Marcel Wysocki <maci@satgnu.net>
-# Contributor: coolkehon <coolkehon at g m a i l>
-
-pkgname=libircclient
-pkgver=1.7
-pkgrel=1
-pkgdesc='Small but powerful library, which implements client-server IRC protocol'
-arch=('i686' 'x86_64')
-url='http://www.ulduzsoft.com/libircclient/'
-depends=('glibc')
-makedepends=('python2-sphinx' 'python2-rst2pdf')
-license=('GPL')
-source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
-md5sums=('968370276f7cf21302f504f9bce1fc99')
-
-build() {
- cd $pkgname-$pkgver
-
- # add fPIC flag for x86_64
- [[ "$CARCH" = "x86_64" ]] && export CFLAGS="$CFLAGS -fPIC"
-
- sed -e "/install/s/lib/all/" \
- -e "/DESTDIR/s/\.a/\.so/g" \
- -e "s/@\/include/&\/$pkgname/" \
- -i src/Makefile.in
-
- ./configure --prefix=/usr \
- --libdir=/usr/lib \
- --enable-shared
- cd src && make
-
- cd ../doc
- sed -i 's/sphinx-build/sphinx-build2/g' Makefile
- make singlehtml man
-}
-
-package() {
- cd $pkgname-$pkgver/src
- make DESTDIR="$pkgdir" install
-
- install -d "$pkgdir"/usr/share/doc/$pkgname
- cp -a ../doc/_build/singlehtml/* "$pkgdir"/usr/share/doc/$pkgname
- cp -a ../doc/_build/man "$pkgdir"/usr/share
-
- install -d "$pkgdir"/usr/share/$pkgname/examples
- install -Dm644 ../examples/* \
- "$pkgdir"/usr/share/$pkgname/examples
-}
diff --git a/community/libircclient/shared.patch b/community/libircclient/shared.patch
deleted file mode 100644
index ac57fe3a8..000000000
--- a/community/libircclient/shared.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-diff -aur libircclient-1.3/src/Makefile.in libircclient-1.3.patched/src/Makefile.in
---- libircclient-1.3/src/Makefile.in 2005-03-09 22:11:53.000000000 +0100
-+++ libircclient-1.3.patched/src/Makefile.in 2012-01-05 05:46:21.000000000 +0100
-@@ -4,21 +4,22 @@
- AR=@AR@ cr
- RANLIB=@RANLIB@
- INCLUDES=-I../include
--
-+DESTDIR+=
-
- OBJS = libircclient.o
-
- all: lib
-
--lib: libircclient.a
-+lib: libircclient.a libircclient.so
-
- install: lib
-- -mkdir @prefix@/include
-- -mkdir @prefix@/lib
-- cp ../include/libircclient.h @prefix@/include/libircclient.h
-- cp ../include/libirc_errors.h @prefix@/include/libirc_errors.h
-- cp ../include/libirc_events.h @prefix@/include/libirc_events.h
-- cp libirc.a @prefix@/include/lib/libirc.a
-+ mkdir -p $(DESTDIR)/usr/{lib,include/libircclient}
-+ mkdir -p $(DESTDIR)/usr/share/{man,{doc,}/libircclient}
-+ cp libircclient.a libircclient.so $(DESTDIR)/usr/lib
-+ cp ../include/libirc*.h $(DESTDIR)/usr/include/libircclient
-+ cp -a ../doc/{html,rfc1459.txt} $(DESTDIR)/usr/share/doc/libircclient
-+ cp -a ../examples $(DESTDIR)/usr/share/libircclient
-+ cp -a ../doc/man/man3 $(DESTDIR)/usr/share/man
-
- $(OBJS): utils.c dcc.c errors.c portable.c sockets.c colors.c
-
-@@ -26,6 +27,9 @@
- $(AR) libircclient.a $(OBJS)
- $(RANLIB) libircclient.a
-
-+libircclient.so: $(OBJS)
-+ $(CC) -shared -Wl $(OBJS) -o libircclient.so
-+
- clean:
- rm -f libircclient.a $(OBJS)
-