mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
26 lines
757 B
Bash
26 lines
757 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer:
|
|
|
|
pkgname=yaws
|
|
pkgver=1.81
|
|
pkgrel=1
|
|
pkgdesc="Yet Another Web Server -- The pure Erlang HTTP server/framework"
|
|
arch=('i686' 'x86_64')
|
|
url="http://yaws.hyber.org"
|
|
license=('BSD')
|
|
depends=('pam' 'erlang')
|
|
backup=(etc/yaws.conf)
|
|
source=(http://yaws.hyber.org/download/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('6558f194aeaf6facffbed78ad87b36af')
|
|
|
|
build() {
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
|
|
install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
|
|
install -d ${pkgdir}/usr/lib/erlang/lib
|
|
ln -s /usr/lib/yaws ${pkgdir}/usr/lib/erlang/lib/$pkgname-$pkgver
|
|
}
|