Skip to content

Instantly share code, notes, and snippets.

@osvein
Last active June 26, 2017 11:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save osvein/744a4edd25d97ed1cdb3c5f219c3acee to your computer and use it in GitHub Desktop.
Save osvein/744a4edd25d97ed1cdb3c5f219c3acee to your computer and use it in GitHub Desktop.
# 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