diff options
author | root <root@rshg054.dnsready.net> | 2012-02-27 23:15:24 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-27 23:15:24 +0000 |
commit | 1f567a9d58d16b76320168f0624aa55bd6320284 (patch) | |
tree | e4e7ffadc364d582fccd8543ad1543fa9741a8a7 /community/enet/PKGBUILD | |
parent | f6a79a3f5989efc8db63af942851c56f0c462bb1 (diff) |
Mon Feb 27 23:15:24 UTC 2012
Diffstat (limited to 'community/enet/PKGBUILD')
-rw-r--r-- | community/enet/PKGBUILD | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/community/enet/PKGBUILD b/community/enet/PKGBUILD index 42f66822f..79d9ad6af 100644 --- a/community/enet/PKGBUILD +++ b/community/enet/PKGBUILD @@ -1,27 +1,32 @@ -# $Id: PKGBUILD 55996 2011-09-28 12:57:06Z jelle $ +# $Id: PKGBUILD 66600 2012-02-26 14:00:34Z lfleischer $ # Maintainer: Mateusz Herych <heniekk@gmail.com> # Contributor: Bj?indeijer <bjorn@lindeijer.nl> + pkgname=enet pkgver=1.3.3 -pkgrel=1 +pkgrel=2 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=('4b0b69377fd4511e82e5f0921a942e59') build() { - cd ${pkgname}-${pkgver} + cd "${pkgname}-${pkgver}" + CFLAGS="-fPIC" ./configure --prefix=/usr make gcc -Wl,-soname,libenet.so.2 -shared -o libenet.so.2 *.o } package() { - cd ${pkgname}-${pkgver} - make prefix=${pkgdir}/usr install - install -m 755 libenet.so.2 ${pkgdir}/usr/lib - install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + cd "${pkgname}-${pkgver}" + + make prefix="${pkgdir}/usr" install + + install -m755 libenet.so.2 "${pkgdir}/usr/lib" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } -md5sums=('4b0b69377fd4511e82e5f0921a942e59') |