aboutsummaryrefslogtreecommitdiffstats
path: root/main/rt4/APKBUILD
diff options
context:
space:
mode:
authorJeff Bilyk <jbilyk@gmail.com>2011-06-18 20:51:59 +0000
committerJeff Bilyk <jbilyk@gmail.com>2011-06-18 20:51:59 +0000
commite5742860b760783e0bd992e1ce14df1039c84324 (patch)
treefcc15b2d4bb8806ebc3d27db86439243fbfb2390 /main/rt4/APKBUILD
parentb6d9107bfeb01852a20114ed3bf51e1f59805bf0 (diff)
downloadaports-e5742860b760783e0bd992e1ce14df1039c84324.tar.bz2
aports-e5742860b760783e0bd992e1ce14df1039c84324.tar.xz
main/rt4: moved from testing
move rt4 to main
Diffstat (limited to 'main/rt4/APKBUILD')
-rw-r--r--main/rt4/APKBUILD129
1 files changed, 129 insertions, 0 deletions
diff --git a/main/rt4/APKBUILD b/main/rt4/APKBUILD
new file mode 100644
index 0000000000..6f428d66ef
--- /dev/null
+++ b/main/rt4/APKBUILD
@@ -0,0 +1,129 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=rt4
+pkgver=4.0.0
+pkgrel=1
+pkgdesc="Request Tracker - issue and bug tracker"
+url="http://www.bestpractical.com/rt"
+arch="noarch"
+license="GPLv2+"
+depends="perl
+ perl-term-readkey
+ perl-cache-simple-timedexpiry
+ perl-class-accessor
+ perl-dbi
+ perl-dbd-pg
+ perl-dbd-mysql
+ perl-devel-globaldestruction
+ perl-devel-stacktrace
+ perl-digest-sha1
+ perl-email-address
+ perl-getopt-long
+ perl-locale-maketext-fuzzy
+ perl-locale-maketext-lexicon
+ perl-log-dispatch
+ perl-mime-tools
+ perl-net-cidr
+ perl-regexp-common-net-cidr
+ perl-sub-exporter
+ perl-text-password-pronounceable
+ perl-text-template
+ perl-text-wrapper
+ perl-time-hires
+ perl-time-modules
+ perl-tree-simple
+ perl-universal-require
+ perl-xml-rss
+ perl-text-wikiformat
+ perl-convert-color
+ perl-data-ical
+ perl-mime-types
+ perl-html-format
+ perl-html-rewriteattributes
+ perl-html-tree
+ perl-html-mason
+ perl-javascript-minifier
+ perl-cgi-psgi
+ perl-cgi-emulate-psgi
+ perl-html-mason-psgihandler
+ perl-apache-session
+ perl-starlet
+ perl-html-parser
+ perl-file-sharedir
+ perl-module-versions-report
+ perl-list-moreutils
+ perl-css-squish
+ perl-dbix-searchbuilder
+ perl-regexp-ipv6
+ perl-text-quoted
+ perl-html-scrubber
+ perl-html-quoted
+ perl-datetime-locale
+ perl-fcgi
+ perl-fcgi-procmanager
+ perl-datetime
+ perl-json
+ perl-ipc-run3
+ perl-plack
+ "
+
+makedepends="$depends"
+install=""
+subpackages=""
+source="http://www.bestpractical.com/pub/rt/release/rt-$pkgver.tar.gz
+ rt4-perl-qw-list-deprecation.patch"
+
+_builddir="$srcdir"/rt-$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
+
+ cat <<'EOF' >> config.layout
+# Alpione directory layout.
+<Layout Alpine>
+ prefix: /usr
+ exec_prefix: ${prefix}
+ bindir: ${exec_prefix}/bin
+ sbindir: ${exec_prefix}/sbin
+ sysconfdir: /etc/rt4
+ mandir: ${prefix}/share/man
+ plugindir: ${prefix}/lib/rt4/plugins
+ libdir: ${prefix}/lib/rt4/
+ datadir: ${prefix}/share/rt4
+ htmldir: ${datadir}/html
+ fontdir: ${datadir}/fonts
+ lexdir: ${datadir}/po
+ manualdir: ${datadir}/doc
+ localstatedir: /var
+ logfiledir: ${localstatedir}/log
+ masonstatedir: ${localstatedir}/cache/mason_data
+ sessionstatedir: ${localstatedir}/cache/session_data
+ customdir: ${prefix}/local
+ custometcdir: ${customdir}/etc
+ customhtmldir: ${customdir}/html
+ customlexdir: ${customdir}/po
+ customlibdir: ${customdir}/lib
+ customplugindir: ${customdir}/plugins
+</Layout>
+EOF
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --enable-layout=Alpine \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="bd6045421a6f2d0e8c18923f80726e4a rt-4.0.0.tar.gz
+ff469c9469be2bc094601939068e60ae rt4-perl-qw-list-deprecation.patch"