mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-28 23:21:53 +00:00
22 lines
723 B
Bash
22 lines
723 B
Bash
|
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|||
|
# Contributor: Bj<42>rn Lindeijer <bjorn@lindeijer.nl>
|
|||
|
pkgname=enet
|
|||
|
pkgver=1.2
|
|||
|
pkgrel=4
|
|||
|
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')
|
|||
|
source=(http://enet.bespin.org/download/$pkgname-$pkgver.tar.gz)
|
|||
|
md5sums=('e0d9f468d8c6f6bfd07083b3b40f5e69')
|
|||
|
|
|||
|
build() {
|
|||
|
cd $startdir/src/$pkgname-$pkgver
|
|||
|
./configure --prefix=/usr
|
|||
|
make || return 1
|
|||
|
gcc -Wl,-soname,libenet.so.2 -shared -o libenet.so.2 *.o
|
|||
|
make prefix=$startdir/pkg/usr install
|
|||
|
install -m 755 libenet.so.2 $pkgdir/usr/lib
|
|||
|
install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
|
|||
|
}
|