updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / slirp / PKGBUILD
blob35e6122e8462946e89ce49300b0013d0fcc9ab4d
1 # Maintainer: kfgz <kfgz at interia dot pl>
2 # Contributor: Giovanni Scafora <linuxmania at gmail dot com>
4 pkgname=slirp
5 pkgver=1.0.16
6 pkgrel=4
7 pkgdesc="Emulates a PPP or SLIP connection over a terminal"
8 arch=('i686' 'x86_64')
9 url="http://slirp.sourceforge.net"
10 license=('GPL')
11 depends=('glibc')
12 makedepends=('ppp')
13 source=(http://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz
14         fix17.patch)
15 md5sums=('b712f2fe58aaf87172cfd31c95fc1e31'
16          '8a7760e5d8a3c899a70d1bcadebf9f01')
18 build() {
19   cd "${srcdir}"/${pkgname}-${pkgver}/src
20   #patch -Np0 -i ../../fix17.patch
21   ./configure --prefix=/usr
22   make
25 package() {
26   cd "${srcdir}"/${pkgname}-${pkgver}/src
27   install -D -m755 slirp "${pkgdir}"/usr/bin/slirp
28   install -D -m644 slirp.man "${pkgdir}"/usr/share/man/man1/slirp.1