updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / cfengine / PKGBUILD
blob285a09cc1dd7f9c76390fa547f75954c0883eec8
1 # Maintainer: Phillip Smith <fukawi2@NO-SPAM.gmail.com>
2 # http://github.com/fukawi2/aur-packages
3 # Contributor: Christian Berendt <christian@thorlin.de>
5 ### I AM ONLY THE PACKAGER, NOT THE DEVELOPER
6 ### Please ask support questions about this software in one of:
7 ###   1) The AUR comments; OR
8 ###   2) Upstream forums/maillist etc; OR
9 ###   3) The ArchLinux forums
10 ### I do not always know enough about the software itself, or don't have the
11 ### time to promptly respond to direct emails.
12 ### If you have found a problem with the package/PKGBUILD (as opposed to
13 ### the software) then please do email me or post an AUR comment.
15 pkgname=cfengine
16 pkgver=3.2.3
17 pkgrel=2
18 pkgdesc="automated suite of programs for configuring and maintaining Unix-like computers."
19 url="http://www.cfengine.org"
20 license=('GPL3')
21 arch=('i686' 'x86_64')
22 depends=('openssl' 'pcre' 'postgresql-libs' 'libmysqlclient')
23 source=("${pkgname}-${pkgver}.tar.gz::http://cfengine.com/source-code/download?file=${pkgname}-${pkgver}.tar.gz")
24 md5sums=('be118dd95537221da38008845fc0d84a')
26 build() {
27         cd ${srcdir}/${pkgname}-${pkgver}
29   # Remove one (or both) of the --with-mysql and/or --with-postgresql
30   # lines if you want to reduce dependency chain"
31         ./configure \
32     --prefix=/usr \
33     --with-postgresql \
34     --with-pcre \
35     --with-workdir=/srv/cfengine
37         make
40 package() {
41         cd ${srcdir}/${pkgname}-${pkgver}
43         make DESTDIR=$pkgdir install
46 # vim:set ts=2 sw=2 et: