PKGBUILDs/community/asio/PKGBUILD

27 lines
726 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Jeff Mickey <j@codemac.net>
# Contributor: Aaron Griffin <aaron@archlinux.org>
# Contributor: tardo <tardo@nagi-fanboi.net>
pkgname=asio
pkgver=1.2.0
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.gz)
md5sums=('069bfcc98a179d580b11526805d29b01')
build(){
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir} install
#license
install -D -m644 LICENSE_1_0.txt ${pkgdir}/usr/share/licenses/$pkgname/LICENSE_1_0.txt
}