kabel / homebrew-php-ext

🐘🌐 Core PHP extension formulae not suitable for Homebrew/core
BSD 2-Clause "Simplified" License
122 stars 18 forks source link

add memcache extension for php 7.1 #7

Closed glensc closed 6 years ago

glensc commented 6 years ago

created brew based on the gist: https://gist.github.com/Niteshvgupta/1832ce29dee460b64d5384e4f585e7ab

the def install override is made to omit cd ext/#{extension}.

probably could be done better.

but works here:

[/tmp] ➔ brew install php@7.1-memcache
==> Installing php@7.1-memcache from kabel/php-ext
==> Downloading https://github.com/websupport-sk/pecl-memcache/archive/NON_BLOCKING_IO_php7.tar.gz
Already downloaded: /Users/glen/Library/Caches/Homebrew/downloads/5e148a25d7731c41b7881efd93b4c535207402e2e4fd789efaceea174c7e5be6--pecl-memcache-NON_BLOCKING_IO_php7.tar.gz
==> /usr/local/opt/php@7.1/bin/phpize
==> ./configure --with-php-config=/usr/local/opt/php@7.1/bin/php-config
==> make
🍺  /usr/local/Cellar/php@7.1-memcache/7: 5 files, 103.8KB, built in 17 seconds
[/tmp] ➔
kabel commented 6 years ago

Thanks for the PR, but I'm not interested in bringing in packages that are being managed by pecl.

glensc commented 6 years ago

the thing is that pecl version is unmaintained and does not compile with php7

kabel commented 6 years ago

I understand the frustration of a package becoming unmaintained. Perhaps the community that's using this forked code base should petition the current maintainers or the core php team to allow a new group to take over management.

I am unwilling to take on the burden of maintaining such a package in this tap.

glensc commented 5 years ago

added to my tap: https://github.com/glensc/homebrew-tap/pull/2

glensc commented 5 years ago

looks like this is now available via kabel/pecl tap: