aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-11-01 12:19:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-11-01 12:19:33 +0000
commit96a156f3fc4a2d065b46f1b9297abb60fd507c90 (patch)
tree454e07dfc7e5ea1bde08eed188a2685baebb564e /main
parentbb8d724c51481dde55b182bc8fd48ecdbda0758f (diff)
downloadaports-96a156f3fc4a2d065b46f1b9297abb60fd507c90.tar.bz2
aports-96a156f3fc4a2d065b46f1b9297abb60fd507c90.tar.xz
main/php-phpmailer: moved from testing
Diffstat (limited to 'main')
-rw-r--r--main/php-phpmailer/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/php-phpmailer/APKBUILD b/main/php-phpmailer/APKBUILD
new file mode 100644
index 0000000000..19a27a3392
--- /dev/null
+++ b/main/php-phpmailer/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
+pkgname=php-phpmailer
+_pkgname=PHPMailer
+pkgver=5.2.0
+pkgrel=0
+pkgdesc="PHP class for SMTP mailing"
+url="http://code.google.com/a/apache-extras.org/p/phpmailer/"
+arch="noarch"
+license="LGPL"
+depends="php>=5"
+depends_dev=
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="http://phpmailer.apache-extras.org.codespot.com/files/PHPMailer_$pkgver.tgz"
+
+_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"
+}
+
+package() {
+ cd "$_builddir"
+ install -d -m755 "$pkgdir"/usr/share/pear
+ install -D -m644 "$_builddir"/class.*.php "$pkgdir"/usr/share/pear || return 1
+}
+
+md5sums="aed567b80e6a3b3175d4ce27f3a9a243 PHPMailer_5.2.0.tgz"