diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-31 09:12:47 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-31 09:12:47 +0000 |
commit | cba9c7336ccdbcd072e2d2e6009b34431f125be0 (patch) | |
tree | c09c3ce91fdb9ecc3626619d2198c7a93f5b6e04 /main/pllua/APKBUILD | |
parent | 01773274eaff18408737aa5bbad49358fc6826c3 (diff) | |
download | aports-cba9c7336ccdbcd072e2d2e6009b34431f125be0.tar.bz2 aports-cba9c7336ccdbcd072e2d2e6009b34431f125be0.tar.xz |
main/pllua: moved from testing
Diffstat (limited to 'main/pllua/APKBUILD')
-rw-r--r-- | main/pllua/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/main/pllua/APKBUILD b/main/pllua/APKBUILD new file mode 100644 index 0000000000..913f99bbde --- /dev/null +++ b/main/pllua/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Michael Mason <ms13sp@gmail.com> +# Maintainer: Michael Mason <ms13sp@gmail.com> +pkgname=pllua +pkgver=0.3.1 +pkgrel=0 +pkgdesc="Procedural language for PostgreSQL using Lua" +url="http://pgfoundry.org/projects/pllua" +arch="x86 x86_64" +license="GPL" +depends="postgresql" +makedepends="postgresql-dev lua-dev ccache" +install= +subpackages="" +source="http://pgfoundry.org/frs/download.php/1722/$pkgname-$pkgver.tar.gz + pllua-01-0.3.1-include.patch" + +# append extra dependencies to -dev subpackage +# remove if not used. +# depends_dev="somepackage-dev" + +build() { + cd "$srcdir"/$pkgname-$pkgver + for i in "$srcdir"/*.patch; do + msg "Applying ${i}" + patch -p1 -i $i || return 1 + done + + make || return 1 + make DESTDIR="$pkgdir" install + + # remove the 2 lines below (and this) if there is no init.d script + # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname + # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname +} + +md5sums="e57385bdf2d533ac73cd02401795cea8 pllua-0.3.1.tar.gz +a47387e64b7dba8d58237c7dad0e2d61 pllua-01-0.3.1-include.patch" |