From 96a156f3fc4a2d065b46f1b9297abb60fd507c90 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 1 Nov 2011 12:19:33 +0000 Subject: main/php-phpmailer: moved from testing --- main/php-phpmailer/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 main/php-phpmailer/APKBUILD (limited to 'main') 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 +# Maintainer: Timo Teräs +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" -- cgit v1.2.3