aboutsummaryrefslogblamecommitdiffstats
path: root/testing/amule/APKBUILD
blob: 1c22cc32235aa61e6565b6d4688a74c4d53fcc28 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                 


                                                

                                                                 
          
                          

                                                                                
                                        
                                                                                       
 
                                          

         
                     
                                                                 

                                            



                                         







                                       
                                 
                                 

                                               
            


           
                                      

 
                                                                                                                                                                 
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=amule
_commit=314e62e87ff0481d3171f74751aaf0179e518765
pkgver=11025
pkgrel=0
pkgdesc="An eMule-like client for the eD2k and Kademlia networks"
url="http://www.amule.org"
arch="all"
license="GPL-2.0-or-later"
makedepends="bison boost-dev crypto++-dev gd-dev geoip-dev libsm-dev libupnp-dev
	wxgtk3-dev"
subpackages="$pkgname-lang $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://repo.or.cz/amule.git/snapshot/$_commit.tar.gz"

builddir="$srcdir/$pkgname-${_commit:0:7}"

build() {
	./configure \
		CPPFLAGS="$CPPFLAGS -Wno-unused-local-typedefs" \
		CFLAGS="$CFLAGS -fPIC" \
		CXXFLAGS="$CXXFLAGS -fPIC" \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--enable-amule-daemon \
		--enable-amulecmd \
		--enable-amule-gui \
		--enable-webserver \
		--enable-alc \
		--enable-alcc \
		--enable-geoip \
		--enable-upnp \
		--enable-ccache \
		--disable-debug \
		--with-boost \
		--with-wx-config=wx-config-gtk3
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="26be2ce0c504091a6f668832b8dcd2b5b806a8a968e2d6db756be87c1eac7efe9bad587de7708542f21b70008da0fad36278428f62d8c86c6a9ba7db00044675  amule-11025.tar.gz"