aboutsummaryrefslogtreecommitdiffstats
path: root/main/php-mailparse
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2011-05-12 00:00:51 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2011-05-12 00:00:51 +0000
commit0ea00e0aeb7bfcd250dc131dabb8b99e0ebc950b (patch)
treeaf4e091ae02009bada293b77e6c33cfff35998c3 /main/php-mailparse
parentfa7ddb866e556e22fd21ad82d00fcfc3f5c9154f (diff)
downloadaports-0ea00e0aeb7bfcd250dc131dabb8b99e0ebc950b.tar.bz2
aports-0ea00e0aeb7bfcd250dc131dabb8b99e0ebc950b.tar.xz
main/php-mailparse: add missing ini
Diffstat (limited to 'main/php-mailparse')
-rw-r--r--main/php-mailparse/APKBUILD10
-rw-r--r--main/php-mailparse/mailparse.ini1
2 files changed, 8 insertions, 3 deletions
diff --git a/main/php-mailparse/APKBUILD b/main/php-mailparse/APKBUILD
index 63f55c677f..7f112dea56 100644
--- a/main/php-mailparse/APKBUILD
+++ b/main/php-mailparse/APKBUILD
@@ -3,7 +3,7 @@
pkgname=php-mailparse
_realname=mailparse
pkgver=2.1.5
-pkgrel=0
+pkgrel=1
pkgdesc="PHP Email message manipulation"
url="http://pecl.php.net/package/mailparse"
arch="all"
@@ -13,7 +13,8 @@ depends_dev="php-dev"
makedepends="$depends_dev autoconf"
install=""
subpackages=""
-source="http://pecl.php.net/get/$_realname-$pkgver.tgz"
+source="http://pecl.php.net/get/$_realname-$pkgver.tgz
+ mailparse.ini"
_builddir="$srcdir/$_realname-$pkgver"
@@ -37,6 +38,9 @@ build() {
package() {
cd "$_builddir"
make INSTALL_ROOT="$pkgdir/" install || return 1
+ install -D -m644 "$srcdir"/mailparse.ini \
+ "$pkgdir"/etc/php/conf.d/mailparse.ini || return 1
}
-md5sums="0c0134fb6f5903c8fb6c9e2205263d2c mailparse-2.1.5.tgz"
+md5sums="0c0134fb6f5903c8fb6c9e2205263d2c mailparse-2.1.5.tgz
+9b8f5b99ee9d297ef1b439bacc2b3631 mailparse.ini"
diff --git a/main/php-mailparse/mailparse.ini b/main/php-mailparse/mailparse.ini
new file mode 100644
index 0000000000..cb7ebda6bd
--- /dev/null
+++ b/main/php-mailparse/mailparse.ini
@@ -0,0 +1 @@
+extension=mailparse.so