From 5823bab4112b25e2c8cee8ea0aaca9124dd285a2 Mon Sep 17 00:00:00 2001 From: chaves Date: Thu, 10 Feb 2011 18:59:17 +0000 Subject: [PATCH] 'enet-old' is now named just 'enet', and was upgraded to its 1.2.3 version. 1.2.x branch still needed for 0ad, and probably for SuperTuxKart. --- {enet-old => enet}/ChangeLog | 0 {enet-old => enet}/PKGBUILD | 27 +++++++++++++-------------- 2 files changed, 13 insertions(+), 14 deletions(-) rename {enet-old => enet}/ChangeLog (100%) rename {enet-old => enet}/PKGBUILD (50%) diff --git a/enet-old/ChangeLog b/enet/ChangeLog similarity index 100% rename from enet-old/ChangeLog rename to enet/ChangeLog diff --git a/enet-old/PKGBUILD b/enet/PKGBUILD similarity index 50% rename from enet-old/PKGBUILD rename to enet/PKGBUILD index 01bd98251..74f0dc17c 100644 --- a/enet-old/PKGBUILD +++ b/enet/PKGBUILD @@ -6,35 +6,34 @@ # include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf -pkgname=enet-old -_pkgname=enet -pkgver=1.2.2 +pkgname=enet +pkgver=1.2.3 pkgrel=1 pkgdesc='A relatively thin, simple and robust network communication layer on top of UDP. (Old Version)' arch=('i686' 'x86_64') -provides=('enet') -conflicts=('enet') url='http://enet.bespin.org/' -license=('custom') +license=('MIT') changelog=ChangeLog -source=("http://$_pkgname.bespin.org/download/$_pkgname-$pkgver.tar.gz") -md5sums=('bae05cb752649e8c692944d5480fb861') +source=("http://$pkgname.bespin.org/download/$pkgname-$pkgver.tar.gz") +md5sums=('30be76b63db9bcebb89e142ddbada20b') build() { - cd $_pkgname-$pkgver + cd $pkgname-$pkgver - CFLAGS="-fPIC" ./configure --prefix=/usr + CFLAGS="-fPIC" \ + ./configure \ + --prefix=/usr make - gcc -Wl,-soname,libenet.so.2 -shared -o libenet.so.2 *.o +# gcc -Wl,-soname,libenet.so.2 -shared -o libenet.so.2 *.o } package() { - cd $_pkgname-$pkgver + cd $pkgname-$pkgver make prefix=$pkgdir/usr install - install -m 755 libenet.so.2 $pkgdir/usr/lib +# install -m 755 libenet.so.2 $pkgdir/usr/lib # License: - install -D -m644 LICENSE $pkgdir/usr/share/licenses/$_pkgname/LICENSE + install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE }