1 # Maintainer: Andreas B. Wagner <AndreasBWagner@pointfree.net>
5 pkgdesc="an experimental implementation of content-centric networking"
7 url="http://www.ccnx.org"
8 license=('GPLv2' 'LGPLv2.1')
9 #depends=('openssl' 'expat' 'libpcap' 'libxml2' 'apache-ant' 'java-environment=6' 'java-runtime=6' 'athena-jot')
13 #source=("http://dl.dropbox.com/u/29164727/$pkgname-$pkgver.tar.gz")
14 source=("http://www.ccnx.org/releases/$pkgname-$pkgver.tar.gz")
15 md5sums=('0c66e7102632f986176479102c700664')
18 cd "$srcdir/$pkgname-$pkgver"
20 echo INSTALL_BASE=/usr > $srcdir/$pkgname-$pkgver/csrc/conf/local.mk
23 mkdir -p $pkgdir{/etc/profile.d,/usr/{include,lib,bin,share/{man/man1,doc/$pkgname/technical}}}
24 make INSTALL_BASE=${pkgdir}/usr install
26 echo "export CCN_HOME=/usr/lib/ccn" > ${pkgdir}/etc/profile.d/${pkgname}.sh
27 chmod +x ${pkgdir}/etc/profile.d/${pkgname}.sh
29 install -Dm644 doc/manpages/*.1 $pkgdir/usr/share/man/man1/
30 install -Dm644 doc/technical/*.txt $pkgdir/usr/share/doc/ccnx/technical/
31 install -Dm644 README NOTICES NEWS $pkgdir/usr/share/doc/ccnx/
33 # vim:set ts=2 sw=2 et: