diff options
Diffstat (limited to 'main/ccnet')
-rw-r--r-- | main/ccnet/APKBUILD | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/main/ccnet/APKBUILD b/main/ccnet/APKBUILD deleted file mode 100644 index be7a17274c..0000000000 --- a/main/ccnet/APKBUILD +++ /dev/null @@ -1,56 +0,0 @@ -# Contributor: <xmingske@gmail.com> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=ccnet -pkgver=4.2.6 -pkgrel=0 -pkgdesc="framework for writing networked applications in C" -url="https://github.com/haiwen/ccnet/" -arch="all" -license="GPL3" -makedepends="autoconf automake bash glib-dev jansson-dev openssl-dev libevent-dev - libsearpc-dev libtool libzdb-dev python-dev sqlite-dev util-linux-dev vala" -source="$pkgname-$pkgver.tar.gz::https://github.com/haiwen/ccnet/archive/v${pkgver}.tar.gz" -subpackages="$pkgname-dev py-$pkgname:py $pkgname-libs" - -_builddir="${srcdir}/${pkgname}-${pkgver}" - -prepare() { - local pf - cd "${_builddir}" - for pf in $source; do - case $pf in - *.patch) msg $pf; patch -p1 -i "$srcdir"/${pf} || return 1;; - esac - done -} - -build() { - cd "${_builddir}" - ./autogen.sh - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --enable-python \ - --enable-server - make || return 1 -} - -package() { - cd "${_builddir}" - make DESTDIR="${pkgdir}" install || return 1 - rm "${pkgdir}"/usr/lib/libccnet.la -} - -py() { - arch="noarch" - cd "$_builddir" - pkgdesc="$pkgname python bindings" - install -d "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/ -} - -md5sums="41ccfa7ed98a33536ed23802ce4f3afc ccnet-4.2.6.tar.gz" -sha256sums="c9ef7a803713f1fc9248a6ecf202238f8d9904de6ffe957c4344119e3657556c ccnet-4.2.6.tar.gz" -sha512sums="5aef8fab630b65f679b22d3b029e46cdd6473aab38896457553aaa722cc452310a66e689bb71751b9a81555c3111d6d79b73d355a056eeaee5a6242ed23a2625 ccnet-4.2.6.tar.gz" |