dovecot: update to 2.2.33.1
[feed/packages.git] / lang / php7-pecl-raphf / Makefile
1 #
2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
4 #
5
6 include $(TOPDIR)/rules.mk
7
8 PECL_NAME:=raphf
9 PECL_LONGNAME:=Resource and persistent handles factory
10
11 PKG_VERSION:=2.0.0
12 PKG_RELEASE:=2
13 PKG_HASH:=95a59ea0dc3fc172805a6acd8327b122dd159b0a85b253826166457a05efa411
14
15 PKG_NAME:=php7-pecl-raphf
16 PKG_SOURCE:=$(PECL_NAME)-$(PKG_VERSION).tgz
17 PKG_SOURCE_URL:=http://pecl.php.net/get/
18
19 PKG_MAINTAINER:=Michael Heimpold <mhei@heimpold.de>
20
21 PKG_LICENSE:=BSD-2-Clause
22 PKG_LICENSE_FILES:=LICENSE
23
24 PKG_BUILD_DIR:=$(BUILD_DIR)/pecl-php7/$(PECL_NAME)-$(PKG_VERSION)
25 PKG_BUILD_PARALLEL:=1
26
27 PKG_FIXUP:=autoreconf
28
29 include $(INCLUDE_DIR)/package.mk
30 include $(INCLUDE_DIR)/nls.mk
31 include ../php7/pecl.mk
32
33 CONFIGURE_ARGS+= \
34 --enable-raphf
35
36 define Build/InstallDev
37 mkdir -p $(STAGING_DIR)/usr/include/php7/ext/$(PECL_NAME)
38 cp $(PKG_BUILD_DIR)/php_raphf.h $(STAGING_DIR)/usr/include/php7/ext/$(PECL_NAME)/
39 cp $(PKG_BUILD_DIR)/php_raphf_api.h $(STAGING_DIR)/usr/include/php7/ext/$(PECL_NAME)/
40 endef
41
42 $(eval $(call PECLPackage,$(PECL_NAME),$(PECL_LONGNAME)))
43 $(eval $(call BuildPackage,$(PKG_NAME)))