Commit faed188f authored by Carlo Landmeter's avatar Carlo Landmeter
Browse files

main/php-mailparse: new aport

parent 019fe400
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=php-mailparse
_realname=mailparse
pkgver=2.1.5
pkgrel=0
pkgdesc="PHP Email message manipulation"
url="http://pecl.php.net/package/mailparse"
arch="all"
license="PHP"
depends=
depends_dev="php-dev"
makedepends="$depends_dev"
install=""
subpackages=""
source="http://pecl.php.net/get/$_realname-$pkgver.tgz"
_builddir="$srcdir/$_realname-$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"
phpize || return 1
./configure --prefix=/usr || return 1
make || return 1
}
package() {
cd "$_builddir"
make INSTALL_ROOT="$pkgdir/" install || return 1
}
md5sums="0c0134fb6f5903c8fb6c9e2205263d2c mailparse-2.1.5.tgz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment