aboutsummaryrefslogtreecommitdiffstats
path: root/main/php5-mailparse
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-05-05 08:20:14 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-05-05 15:43:07 +0000
commit1c0b0671f25cf919993b41569446a03170aa39ab (patch)
treed25723f06f595425601ab345b61cba2581ff3655 /main/php5-mailparse
parent72241eb60c26b15a0b417c249cd5eff5c66fb712 (diff)
downloadaports-1c0b0671f25cf919993b41569446a03170aa39ab.tar.bz2
aports-1c0b0671f25cf919993b41569446a03170aa39ab.tar.xz
main/php5: renamed php to php5
Diffstat (limited to 'main/php5-mailparse')
-rw-r--r--main/php5-mailparse/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/main/php5-mailparse/APKBUILD b/main/php5-mailparse/APKBUILD
new file mode 100644
index 0000000000..0b03b57d4a
--- /dev/null
+++ b/main/php5-mailparse/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Valery Kartel <valery.kartel@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=php-mailparse
+_pkgreal=mailparse
+pkgver=2.1.6
+_pkgver=${pkgver/_rc/RC}
+pkgrel=2
+pkgdesc="PHP extension for email message manipulation"
+url="http://pecl.php.net/package/$_pkgreal"
+arch="all"
+license="PHP"
+depends=
+pecldepends="php-dev autoconf"
+makedepends="$pecldepends"
+install=""
+subpackages=""
+source="http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz"
+
+_builddir="$srcdir"/$_pkgreal-$_pkgver
+
+build() {
+ cd "$_builddir"
+ phpize || return 1
+ ./configure --prefix=/usr || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make INSTALL_ROOT="$pkgdir"/ install || return 1
+ install -d "$pkgdir"/etc/php/conf.d || return 1
+ echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php/conf.d/$_pkgreal.ini
+}
+
+md5sums="0f84e1da1d074a4915a9bcfe2319ce84 mailparse-2.1.6.tgz"
+sha256sums="73705197d2b2ee782efa5477eb2a21432f592c2cb05a72c3a037bbe39e02b5cc mailparse-2.1.6.tgz"
+sha512sums="a7337dd2e99a953a55b38c236da95a6bd2950c2bca16fc0ddfec39be8b0ffe01007353fc7b562d0509e0bb1623c3d2b03935d1c98a07dcd9f0b14bb508bce374 mailparse-2.1.6.tgz"