diff options
author | root <root@rshg054.dnsready.net> | 2012-06-02 00:01:53 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-06-02 00:01:53 +0000 |
commit | 211709a2f09bd677aa1deac0dc82fde6ce1c8626 (patch) | |
tree | bd95688134860851652ff3d47f376702917f1b76 /community-staging/enet | |
parent | 7087de492f6effbd08f6b644ce85d1b1ea58fb14 (diff) |
Sat Jun 2 00:01:53 UTC 2012
Diffstat (limited to 'community-staging/enet')
-rw-r--r-- | community-staging/enet/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/community-staging/enet/PKGBUILD b/community-staging/enet/PKGBUILD new file mode 100644 index 000000000..2434a0f40 --- /dev/null +++ b/community-staging/enet/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 71656 2012-05-31 16:55:51Z ebelanger $ +# Maintainer: Mateusz Herych <heniekk@gmail.com> +# Contributor: Bj?indeijer <bjorn@lindeijer.nl> + +pkgname=enet +pkgver=1.3.4 +pkgrel=1 +pkgdesc='A relatively thin, simple and robust network communication layer on top of UDP.' +arch=('i686' 'x86_64') +url='http://enet.bespin.org/' +license=('custom') +depends=('glibc') +options=('!libtool') +source=("http://enet.bespin.org/download/${pkgname}-${pkgver}.tar.gz") +md5sums=('e5fb0ca3fd3a9fe7eadbcde4d6af1517') + +build() { + cd "${pkgname}-${pkgver}" + CFLAGS+="-fPIC" ./configure --prefix=/usr + make +} + +package() { + cd "${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |