diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-06-06 12:08:39 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-06-06 12:08:39 +0000 |
commit | d23eac883f7d3e3f659ce044d8bc9fa433cad080 (patch) | |
tree | 13a74a9a4247ba553687367168f7b300d326f0ee /testing/cfengine/APKBUILD | |
parent | 56f383ebc4b5c983208b8b513964a3472ed37e7c (diff) | |
download | aports-d23eac883f7d3e3f659ce044d8bc9fa433cad080.tar.bz2 aports-d23eac883f7d3e3f659ce044d8bc9fa433cad080.tar.xz |
testing/cfengine: new aport
CFEngine Configuration Management
http://cfengine.com/
Diffstat (limited to 'testing/cfengine/APKBUILD')
-rw-r--r-- | testing/cfengine/APKBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/testing/cfengine/APKBUILD b/testing/cfengine/APKBUILD new file mode 100644 index 0000000000..f9e1e8fca1 --- /dev/null +++ b/testing/cfengine/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: Franz Bettag <franz@bett.ag> +# Maintainer: +pkgname=cfengine +pkgver=3.4.4 +pkgrel=0 +pkgdesc="CFEngine Configuration Management" +url="http://cfengine.com/" +arch="all" +license="GPLv3" +depends="" +makedepends="tokyocabinet-dev openssl-dev pcre-dev acl-dev" +install="" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::http://cfengine.com/source-code/download?file=$pkgname-$pkgver.tar.gz + alpinelinux.patch" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --localstatedir=/var \ + --enable-fhs \ + || return 1 + + make all || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm "$pkgdir"/usr/lib/cfengine/*.la +} + +md5sums="81d574a6d68f3f0a91f0803349a8b8f5 cfengine-3.4.4.tar.gz +29767a17f46a943bdaebcf8aa0631da9 alpinelinux.patch" +sha256sums="6572609851724ec8fc58c60474742e5907989462020e6c246111c2731adb6a37 cfengine-3.4.4.tar.gz +e294dc92633b2c90cb8f02d86d2269af9150a1333b4134cf9dd1f03500f9da17 alpinelinux.patch" +sha512sums="986070122a0a0d3e15f50181700cbf230c8a91a5458f0b998d32bf10fdacda016e565ec710e589341bc094dd44dcd5da77abfbf90263b6ed51898e0ddbefde21 cfengine-3.4.4.tar.gz +0d182dba55bc65a8680747d91615369795d5b6dad8ace4b3c8f5cc394ea2592c892729f142009cc3f92aea7d6b63a0575a22565fddf1a9066397a3c0ecd70172 alpinelinux.patch" |