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
58050f67
Commit
58050f67
authored
4 years ago
by
Andy Postnikov
Browse files
Options
Downloads
Patches
Plain Diff
testing/php8-pecl-amqp: new aport
parent
b08a6228
Loading
Loading
1 merge request
!15498
testing/php8-pecl-amqp: new aport
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/php8-pecl-amqp/APKBUILD
+37
-0
37 additions, 0 deletions
testing/php8-pecl-amqp/APKBUILD
with
37 additions
and
0 deletions
testing/php8-pecl-amqp/APKBUILD
0 → 100644
+
37
−
0
View file @
58050f67
# Contributor: Fabio Ribeiro <fabiorphp@gmail.com>
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
pkgname
=
php8-pecl-amqp
_extname
=
amqp
pkgver
=
1.10.2
pkgrel
=
0
pkgdesc
=
"PHP 8 extension to communicate with any AMQP spec 0-9-1 compatible server - PECL"
url
=
"https://pecl.php.net/package/amqp"
arch
=
"all"
license
=
"PHP-3.01"
depends
=
"php8-common"
makedepends
=
"php8-dev rabbitmq-c-dev"
_githash
=
"df1241852b359cf12c346beaa68de202257efdf1"
source
=
"https://github.com/php-amqp/php-amqp/archive/
$_githash
.tar.gz"
builddir
=
"
$srcdir
/php-
$_extname
-
$_githash
"
#source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
#builddir="$srcdir/$_extname-$pkgver"
build
()
{
phpize8
./configure
--prefix
=
/usr
--with-php-config
=
php-config8
make
}
check
()
{
# Tests require running AMQP server, so basic check
php8
-d
extension
=
"
$builddir
"
/modules/
$_extname
.so
--ri
$_extname
}
package
()
{
make
INSTALL_ROOT
=
"
$pkgdir
"
install
local
_confdir
=
"
$pkgdir
"
/etc/php8/conf.d
mkdir
-p
$_confdir
echo
"extension=
$_extname
"
>
$_confdir
/40_
$_extname
.ini
}
sha512sums
=
"196a6064780dccfedf2777eccb0835b45a391a181f9a8dd1368a3114b0c7e352af09ed228398b1aa736a76cff453cfa7fc218b763aedd28f0aa9f12901a8c745 df1241852b359cf12c346beaa68de202257efdf1.tar.gz"
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