summaryrefslogtreecommitdiff
path: root/extra/asio/PKGBUILD
blob: 27f94d9a4657fd3fd647c8200692c08101569eda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 190033 2013-07-13 12:40:05Z svenstaro $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Aaron Griffin <aaron@archlinux.org>

pkgname=asio
pkgver=1.4.8
pkgrel=3
pkgdesc="Cross-platform C++ library for ASynchronous network I/O"
arch=('i686' 'x86_64' 'mips64el')
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"
}