From bac9f295a45641e1489eaff392852884b055e7cb Mon Sep 17 00:00:00 2001 From: Andy Postnikov Date: Sun, 21 Oct 2018 00:12:07 +0300 Subject: community/php7-pecl-mcrypt: renamed from php7-mcrypt, modernize --- community/php7-mcrypt/APKBUILD | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 community/php7-mcrypt/APKBUILD (limited to 'community/php7-mcrypt') diff --git a/community/php7-mcrypt/APKBUILD b/community/php7-mcrypt/APKBUILD deleted file mode 100644 index f611e4e05e..0000000000 --- a/community/php7-mcrypt/APKBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Maintainer: TBK -pkgname=php7-mcrypt -_pkgreal=mcrypt -pkgver=1.0.1 -pkgrel=0 -pkgdesc="Provides bindings for the unmaintained libmcrypt." -url="https://pecl.php.net/package/mcrypt" -arch="all" -license="PHP" -depends="" -makedepends="pcre-dev php7-dev autoconf libmcrypt-dev" -source="https://pecl.php.net/get/$_pkgreal-$pkgver.tgz" -builddir="$srcdir/$_pkgreal-$pkgver" - -build() { - cd "$builddir" - - phpize7 - ./configure --prefix=/usr --with-php-config=php-config7 - make -} - -check() { - cd "$builddir" - - # One test fails with PHP 7.2.3 - rm tests/bug8040.phpt - - make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test -} - -package() { - cd "$builddir" - - make INSTALL_ROOT="$pkgdir"/ install - install -d "$pkgdir"/etc/php7/conf.d - echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/$_pkgreal.ini -} - -sha512sums="1677202715499a41ac6999089257a059106e58cbac06ca8a7dd2e9edd28be5a4118234dd7468110e9e3d7f9de5d099367848fe84bcd06716ea56645c9015c578 mcrypt-1.0.1.tgz" -- cgit v1.2.3