Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
2a628eb6
Commit
2a628eb6
authored
4 years ago
by
Andy Postnikov
Browse files
Options
Downloads
Patches
Plain Diff
community/php7-pecl-mailparse: modernize
parent
deed1951
No related branches found
No related tags found
1 merge request
!15231
community/php7-pecl-mailparse: modernize
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
community/php7-pecl-mailparse/APKBUILD
+10
-12
10 additions, 12 deletions
community/php7-pecl-mailparse/APKBUILD
with
10 additions
and
12 deletions
community/php7-pecl-mailparse/APKBUILD
+
10
−
12
View file @
2a628eb6
# Contributor: Fabio Ribeiro <fabiorphp@gmail.com>
# Maintainer: Fabio Ribeiro <fabiorphp@gmail.com>
pkgname
=
php7-pecl-mailparse
_
pkgreal
=
mailparse
_
extname
=
mailparse
pkgver
=
3.1.1
pkgrel
=
0
pkgdesc
=
"PHP extension for parsing and working with email messages - PECL"
pkgrel
=
1
pkgdesc
=
"PHP
7
extension for parsing and working with email messages - PECL"
url
=
"https://pecl.php.net/package/mailparse"
arch
=
"all"
license
=
"PHP-3.01"
depends
=
"php7-mbstring"
makedepends
=
"php7-dev"
source
=
"
$pkg
name
-
$pkgver
.tgz::https://pecl.php.net/get/
$_
pkgreal
-
$pkgver
.tgz"
builddir
=
"
$srcdir
/
$_
pkgreal
-
$pkgver
"
source
=
"
php-pecl-
$_ext
name
-
$pkgver
.tgz::https://pecl.php.net/get/
$_
extname
-
$pkgver
.tgz"
builddir
=
"
$srcdir
/
$_
extname
-
$pkgver
"
provides
=
"php7-mailparse=
$pkgver
-r
$pkgrel
"
# for backward compatibility
replaces
=
"php7-mailparse"
# for backward compatibility
...
...
@@ -25,16 +25,14 @@ check() {
# Tests require mbstring extension which is not bundled
make
NO_INTERACTION
=
1
REPORT_EXIT_STATUS
=
1
test
PHP_TEST_SHARED_EXTENSIONS
=
"
\
-d extension=/usr/lib/php7/modules/mbstring.so
\
-d extension=modules/
$_
pkgreal
.so"
-d extension=modules/
$_
extname
.so"
TESTS
=
--show-diff
}
package
()
{
local
confdir
=
"
$pkgdir
/etc/php7/conf.d"
make
INSTALL_ROOT
=
"
$pkgdir
"
install
mkdir
-p
"
$
confdir
"
echo
"extension=
$_
pkgreal
.so
"
>
"
$confdir
"
/60_
$_
pkgreal
.ini
local
_confdir
=
"
$pkgdir
"
/etc/php7/conf.d
install
-d
$_
confdir
echo
"extension=
$_
extname
"
>
$
_
confdir
/60_
$_
extname
.ini
}
sha512sums
=
"01ddb8d4d27a74c14f70b02b49322c60fc79affab374205fee91b9da21e5148e08dba024f6bc620e4f26c2c937675e09092c52ca69172d2f7797c3e2bf374bee php
7
-pecl-mailparse-3.1.1.tgz"
sha512sums
=
"01ddb8d4d27a74c14f70b02b49322c60fc79affab374205fee91b9da21e5148e08dba024f6bc620e4f26c2c937675e09092c52ca69172d2f7797c3e2bf374bee php-pecl-mailparse-3.1.1.tgz"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment