diff options
author | Francesco Colista <francesco.colista@gmail.com> | 2013-03-08 21:48:55 +0000 |
---|---|---|
committer | Francesco Colista <francesco.colista@gmail.com> | 2013-03-08 21:49:11 +0000 |
commit | 81d00b2da8ddeb425e5f7837204ef475bf6b02d0 (patch) | |
tree | 4af135d639b6b6f7435db3e411620b12b63dfb7f /testing/cgiirc/APKBUILD | |
parent | 8d5c18079bbea00f75141ec09eef3a1dd857c20b (diff) | |
download | aports-81d00b2da8ddeb425e5f7837204ef475bf6b02d0.tar.bz2 aports-81d00b2da8ddeb425e5f7837204ef475bf6b02d0.tar.xz |
testing/cgiirc: new aport
Diffstat (limited to 'testing/cgiirc/APKBUILD')
-rw-r--r-- | testing/cgiirc/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/cgiirc/APKBUILD b/testing/cgiirc/APKBUILD new file mode 100644 index 0000000000..cc3d701c77 --- /dev/null +++ b/testing/cgiirc/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=cgiirc +pkgver=0.5.10 +pkgrel=0 +pkgdesc="A perl/CGI program to use IRC from a web browser" +url="http://cgiirc.org/" +arch="all" +license="GPL" +depends="perl" +depends_dev="" +makedepends="$depends_dev" +install="$pkgname.post-install" +subpackages="" +source="http://cgiirc.org/releases/$pkgname-$pkgver.tar.gz + cgiirc.config" +_builddir="$srcdir"/$pkgname-$pkgver +build() { + cd "$_builddir" + cc -O2 -o client.cgi client.c +} + +package() { + cd "$_builddir" + mkdir -p "$pkgdir"/usr/share/webapps/$pkgname + mkdir -p "$pkgdir"/etc/cgiirc/formats + cp cgiirc.config.full "$pkgdir"/etc/cgiirc + cp "$srcdir"/cgiirc.config "$pkgdir"/etc/cgiirc/cgiirc.config + cp ipaccess.example "$pkgdir"/etc/cgiirc + cp formats/* "$pkgdir"/etc/cgiirc/formats + for i in *.cgi; do + cp $i "$pkgdir"/usr/share/webapps/$pkgname/$i + chmod 755 "$pkgdir"/usr/share/webapps/$pkgname/$i + done + cp -r modules "$pkgdir"/usr/share/webapps/$pkgname/ + cp -r images "$pkgdir"/usr/share/webapps/$pkgname/ + cp -r interfaces "$pkgdir"/usr/share/webapps/$pkgname/ + +} + +md5sums="bfc7b7fb9f53748600f39aae310a0265 cgiirc-0.5.10.tar.gz +c4030bb3ee8182e4fa6b7ce4a413fe3b cgiirc.config" +sha256sums="654409c768026e9565e54a39e27064a4f86fc778042e1d46959f30d24fbfbce0 cgiirc-0.5.10.tar.gz +02e23fb37746182f140b4a93c9d08ae7b0693e411a23b52d7c1c776c028276fe cgiirc.config" +sha512sums="57001051a31f8a1494e8b31b256b5f244ed7e1d23f38f27184374f1becf91e6ea3bd61621679e046ae0a11a2eb3e5909d9d284df2a896bf5aac38f5314c7ae55 cgiirc-0.5.10.tar.gz +9c2cb5f71290cf15cd39f316b8e62b00fa50a8357233497b82f2aabc6f73ba23bc4712cda73b198eb59ecddde00020d50e2e812531eb446af18038170f8dc12d cgiirc.config" |