diff options
Diffstat (limited to 'extra/asio/PKGBUILD')
-rw-r--r-- | extra/asio/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/extra/asio/PKGBUILD b/extra/asio/PKGBUILD new file mode 100644 index 000000000..add8358e0 --- /dev/null +++ b/extra/asio/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 115985 2011-03-22 15:04:08Z giovanni $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: Aaron Griffin <aaron@archlinux.org> + +pkgname=asio +pkgver=1.4.8 +pkgrel=1 +pkgdesc="Cross-platform C++ library for ASynchronous network I/O" +arch=('i686' 'x86_64') +url="http://asio.sourceforge.net" +license=('custom') +depends=('boost') +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2") +md5sums=('bc2ca8ea37892870d194421154df122f') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR=${pkgdir} install + #license + install -D -m644 LICENSE_1_0.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |