From 234b8034cc19925deab37f6f6a39e44ff04b576c Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Tue, 5 Jul 2011 23:42:00 +0000 Subject: crypto++: add as dep for amule --- abs/extra/crypto++/PKGBUILD | 25 +++++++++++++++++-------- abs/extra/crypto++/libcrypto++.pc | 11 +++++++++++ 2 files changed, 28 insertions(+), 8 deletions(-) create mode 100644 abs/extra/crypto++/libcrypto++.pc diff --git a/abs/extra/crypto++/PKGBUILD b/abs/extra/crypto++/PKGBUILD index 0f07ea5..45c90d5 100644 --- a/abs/extra/crypto++/PKGBUILD +++ b/abs/extra/crypto++/PKGBUILD @@ -1,5 +1,6 @@ -# $Id: PKGBUILD 98274 2010-11-06 10:51:05Z giovanni $ +# $Id$ # Maintainer: Giovanni Scafora +# Contributor: Alexander Rødseth # Contributor: Andrea Scarpino # Contributor: Kritoke # Contributor: jlvsimoes @@ -7,21 +8,29 @@ pkgname=crypto++ pkgver=5.6.1 _srcver=561 -pkgrel=1 +pkgrel=2 pkgdesc="A free C++ class library of cryptographic schemes." arch=('i686' 'x86_64') +url="http://www.cryptopp.com/" license=('custom') +depends=('gcc-libs') makedepends=('unzip') -url="http://www.cryptopp.com/" -source=(http://www.cryptopp.com/cryptopp${_srcver}.zip) -md5sums=('96cbeba0907562b077e26bcffb483828') +source=(http://www.cryptopp.com/cryptopp${_srcver}.zip + libcrypto++.pc) +md5sums=('96cbeba0907562b077e26bcffb483828' + '2337c6edbc552d9142cae8e0854715e7') build() { cd ${srcdir} sed -i -e 's/^CXXFLAGS/#CXXFLAGS/' GNUmakefile - make -f GNUmakefile || return 1 - install -d ${pkgdir}/usr/{lib,include/cryptopp} + export CXXFLAGS="${CXXFLAGS} -DNDEBUG -fPIC" + make -f GNUmakefile + make libcryptopp.so + install -d ${pkgdir}/usr/{lib/pkgconfig,include/cryptopp} install -m644 *.h ${pkgdir}/usr/include/cryptopp/ - install -m644 libcryptopp.a ${pkgdir}/usr/lib/ + install -m644 libcryptopp.a ${pkgdir}/usr/lib/libcryptopp.a + install -m644 libcryptopp.so ${pkgdir}/usr/lib/libcryptopp.so + install -m644 ${srcdir}/libcrypto++.pc "${pkgdir}/usr/lib/pkgconfig/libcrypto++.pc" install -D -m644 License.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE } + diff --git a/abs/extra/crypto++/libcrypto++.pc b/abs/extra/crypto++/libcrypto++.pc new file mode 100644 index 0000000..698d761 --- /dev/null +++ b/abs/extra/crypto++/libcrypto++.pc @@ -0,0 +1,11 @@ +# Written by Alexander Rødseth + +prefix=/usr +libdir=${prefix}/lib +includedir=${prefix}/include + +Name: libcrypto++-5.6.1 +Description: Class library of cryptographic schemes +Version: 5.6.1 +Libs: -L${libdir} -lcryptopp +Cflags: -I${includedir} -- cgit v0.12 From 14b8d762bcd1bc41b386ef36aa410f85cf7cfb5d Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Tue, 5 Jul 2011 23:42:34 +0000 Subject: libupnp: add as dep of amule --- abs/extra/libupnp/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 abs/extra/libupnp/PKGBUILD diff --git a/abs/extra/libupnp/PKGBUILD b/abs/extra/libupnp/PKGBUILD new file mode 100644 index 0000000..39cfef7 --- /dev/null +++ b/abs/extra/libupnp/PKGBUILD @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Giovanni Scafora +# Contributor: kastor + +pkgname=libupnp +pkgver=1.6.13 +pkgrel=1 +pkgdesc="Portable Open Source UPnP Development Kit" +arch=('i686' 'x86_64') +url="http://pupnp.sourceforge.net/" +license=('BSD') +depends=('glibc') +makedepends=('pkgconfig') +options=('!libtool') +source=("http://downloads.sourceforge.net/sourceforge/pupnp/${pkgname}-${pkgver}.tar.bz2") +md5sums=('71476b1781ad179bfc9bead640be5f54') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR=${pkgdir} install + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/custom/${pkgname}/LICENSE +} + -- cgit v0.12 From 3ad5815177600d254c494ad5839baa17ec975d39 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Wed, 6 Jul 2011 00:14:13 +0000 Subject: wxgtk: updated to 2.8.12 --- abs/extra/wxgtk/PKGBUILD | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/abs/extra/wxgtk/PKGBUILD b/abs/extra/wxgtk/PKGBUILD index 7eb97bb..283fc84 100644 --- a/abs/extra/wxgtk/PKGBUILD +++ b/abs/extra/wxgtk/PKGBUILD @@ -1,19 +1,19 @@ -# $Id: PKGBUILD 99629 2010-11-15 21:53:38Z eric $ -# Maintainer: Eric Belanger +# $Id$ +# Maintainer: Eric Bélanger pkgname=wxgtk -pkgver=2.8.11 -pkgrel=2 +pkgver=2.8.12 +pkgrel=1 pkgdesc="GTK+ implementation of wxWidgets API for GUI" arch=('i686' 'x86_64') url="http://wxwidgets.org" license=('custom:wxWindows') -depends=('gtk2' 'gstreamer0.10-base' 'libgl' 'libxxf86vm') +depends=('gtk2' 'gstreamer0.10-base' 'libgl' 'libxxf86vm' 'libsm') makedepends=('gstreamer0.10-base-plugins' 'gconf' 'mesa') #source=(http://downloads.sourceforge.net/wxpython/wxPython-src-${pkgver}.tar.bz2) source=(http://downloads.sourceforge.net/wxwindows/wxGTK-${pkgver}.tar.bz2) -md5sums=('6040933d200037f90f6aa1c5169e7ec6') -sha1sums=('e979d9d2b1ee5bd10e90fd00b02f3306327c661a') +md5sums=('08f81ab60647308058f6ce99712b14f8') +sha1sums=('a8d31ef924ae49e97690646b13d5a2a7be7dda10') build() { # cd "${srcdir}/wxPython-src-${pkgver}" @@ -34,3 +34,4 @@ package() { make DESTDIR="${pkgdir}" install install -D -m644 ../../docs/licence.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } + -- cgit v0.12 From 9d22bcc9fb43b439a789dd0e6adef20b017aa921 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Wed, 6 Jul 2011 01:37:54 +0000 Subject: amule: include per cesmans request --- abs/extra/amule/PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 abs/extra/amule/PKGBUILD diff --git a/abs/extra/amule/PKGBUILD b/abs/extra/amule/PKGBUILD new file mode 100644 index 0000000..52d6ad5 --- /dev/null +++ b/abs/extra/amule/PKGBUILD @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Giovanni Scafora +# Contributor: Henrik Ronellenfitsch +# Contributor: Alessio Sergi +# Contributor: Dario 'Dax' Vilardi + +pkgname=amule +pkgver=10587 +pkgrel=1 +pkgdesc="An eMule-like client for ed2k p2p network" +arch=('i686' 'x86_64') +url="http://www.amule.org" +license=('GPL') +depends=('wxgtk>=2.8.12' 'gd' 'geoip' 'libupnp' 'crypto++' 'libsm') +source=("http://amule.sourceforge.net/tarballs/aMule-SVN-r${pkgver}.tar.bz2") +md5sums=('94228cf3fa58178a84c24658a06022bd') + +build() { + cd "${srcdir}/aMule-SVN-r${pkgver}" + + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --enable-cas \ + --enable-wxcas \ + --enable-amule-daemon \ + --enable-amulecmd \ + --enable-amule-gui \ + --enable-alc \ + --enable-alcc \ + --enable-webserver \ + --disable-debug \ + --enable-optimize \ + --enable-ccache \ + --enable-geoip \ + --enable-upnp + + make +} + +package() { + cd "${srcdir}/aMule-SVN-r${pkgver}" + make DESTDIR=${pkgdir}/ install +} + -- cgit v0.12