forked from archlinux/svntogit-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
archrelease: copy trunk to testing-x86_64
git-svn-id: file:///srv/repos/svn-packages/svn@333439 eb2447ed-0c53-47e4-bac8-5bc4a241df78
- Loading branch information
eworm
committed
Sep 5, 2018
1 parent
48e1c4b
commit 7251e7f
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> | ||
# Contributor: Giovanni Scafora <[email protected]> | ||
# Contributor: Aaron Griffin <[email protected]> | ||
|
||
pkgname=asio | ||
pkgver=1.12.1 | ||
pkgrel=1 | ||
pkgdesc='Cross-platform C++ library for ASynchronous network I/O' | ||
url='https://think-async.com/Asio/' | ||
arch=('x86_64') | ||
license=('custom:boost') | ||
makedepends=('boost') | ||
source=("https://sourceforge.net/projects/asio/files/asio/${pkgver}%20%28Stable%29/asio-${pkgver}.tar.bz2") | ||
sha256sums=('a9091b4de847539fa5b2259bf76a5355339c7eaaa5e33d7d4ae74d614c21965a') | ||
|
||
prepare() { | ||
cd ${pkgname}-${pkgver}/ | ||
|
||
autoreconf -fiv | ||
} | ||
|
||
build() { | ||
cd ${pkgname}-${pkgver}/ | ||
|
||
./configure \ | ||
--prefix=/usr | ||
make | ||
} | ||
|
||
check() { | ||
cd ${pkgname}-${pkgver}/ | ||
|
||
make check | ||
} | ||
|
||
package() { | ||
cd ${pkgname}-${pkgver}/ | ||
|
||
make DESTDIR=${pkgdir} install | ||
install -Dm 644 COPYING LICENSE_1_0.txt -t "${pkgdir}/usr/share/licenses/${pkgname}" | ||
} | ||
|
||
# vim: ts=2 sw=2 et: |