Last active
June 26, 2017 11:04
-
-
Save osvein/744a4edd25d97ed1cdb3c5f219c3acee to your computer and use it in GitHub Desktop.
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
# Contributor: gtmanfred | |
# Contributor: Gene Ruebsamen <ruebsamen.gene@gmail.com> | |
# Contributor: Oskar Sveinsen | |
# Maintainer: Jose Riha <jose1711 gmail com> | |
pkgname=socketw | |
pkgver=1.0.0 | |
pkgrel=2 | |
pkgdesc="a cross platform streaming socket C++ library" | |
arch=('i686' 'x86_64') | |
url="http://www.digitalfanatics.org/cal/socketw/" | |
depends=('openssl-1.0') | |
license=('GPL-2') | |
source=(https://github.com/RigsOfRods/socketw/archive/v${pkgver}.tar.gz) | |
md5sums=('54048b3cde37bdd94331748bf9d3c05e') | |
build() { | |
cd $srcdir/socketw-${pkgver} | |
make --silent "SW_CFLAGS=-I/usr/include/openssl-1.0/" "SW_LIBS=-L/usr/lib/openssl-1.0/ -lssl -lcrypto" shared | |
} | |
package() { | |
cd $srcdir/socketw-${pkgver} | |
make PREFIX=$pkgdir/usr install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment