~alpine/devel

1

[alpine-devel] [PATCH] testing/amule: new aport

AmatCoder
Details
Message ID
<1418831243-31619-1-git-send-email-amatcoder@gmail.com>
Sender timestamp
1418831243
DKIM signature
missing
Download raw message
Patch: +58 -0
SVN version synced with Arch.
This package might be splitted in the future.
---
 testing/amule/APKBUILD | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)
 create mode 100644 testing/amule/APKBUILD

diff --git a/testing/amule/APKBUILD b/testing/amule/APKBUILD
new file mode 100644
index 0000000..aee0bbe
--- /dev/null
+++ b/testing/amule/APKBUILD
@@ -0,0 +1,58 @@
+# Contributor: August Klein <amatcoder@gmail.com>
+# Maintainer: August Klein <amatcoder@gmail.com>
+pkgname=amule
+pkgsvn=aMule-SVN-r
+pkgver=10852
+pkgrel=0
+pkgdesc="An eMule-like client for the eD2k and Kademlia networks"
+url="http://www.amule.org"
+arch="all"
+license="GPL2"
+depends=""
+depends_dev="crypto++-dev gd-dev geoip-dev libsm-dev libupnp-dev wxgtk2.8-dev"
+makedepends="$depends_dev bison"
+install=""
+subpackages="$pkgname-lang $pkgname-doc"
+source="http://amule.sourceforge.net/tarballs/${pkgsvn}${pkgver}.tar.bz2"
+
+_builddir=$srcdir/${pkgsvn}${pkgver}
+prepare() {
+	local i
+	cd "$_builddir"
+	update_config_sub || return 1
+	for i in $source; do
+		case $i in
+		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+		esac
+	done
+}
+
+build() {
+	cd "$_builddir"
+	./configure \
+		--build=$CBUILD \
+		--host=$CHOST \
+		--prefix=/usr \
+		--mandir=/usr/share/man \
+		--with-wxversion=2.8 \
+		--enable-amule-daemon \
+		--enable-amulecmd \
+		--enable-amule-gui \
+		--enable-webserver \
+		--enable-alc \
+		--enable-alcc \
+		--enable-geoip \
+		--enable-upnp \
+		--disable-debug \
+		|| return 1
+	make || return 1
+}
+
+package() {
+	cd "$_builddir"
+	make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="7869cd9f40f709b084b5b4d9d726f7e7  aMule-SVN-r10852.tar.bz2"
+sha256sums="3a97c844235556c18d2344e7e7bd758be6cb603e09f866d0c9d68836021c306d  aMule-SVN-r10852.tar.bz2"
+sha512sums="00caaae6f6a6832200a6267676160d2554ecee93e1256257311586a29e6b1ba3f44e61ad159051224ad55071cf27e9c45f2ea2603de41163ff487f1c5d7a4847  aMule-SVN-r10852.tar.bz2"
-- 
2.2.0



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Natanael Copa
Details
Message ID
<20141223170009.42ef2730@ncopa-desktop.alpinelinux.org>
In-Reply-To
<1418831243-31619-1-git-send-email-amatcoder@gmail.com> (view parent)
Sender timestamp
1419350409
DKIM signature
missing
Download raw message
On Wed, 17 Dec 2014 15:47:23 +0000
AmatCoder <amatcoder@gmail.com> wrote:

> SVN version synced with Arch.
> This package might be splitted in the future.
> ---


applied. thanks!

-nc


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---