Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PECL_NAME:=propro
  7. PECL_LONGNAME:=Property proxy
  8. PKG_VERSION:=2.0.1
  9. PKG_RELEASE:=2
  10. PKG_MD5SUM:=19f9517210a87e18cc09faed262e1522
  11. PKG_NAME:=php7-pecl-propro
  12. PKG_SOURCE:=$(PECL_NAME)-$(PKG_VERSION).tgz
  13. PKG_SOURCE_URL:=http://pecl.php.net/get/
  14. PKG_MAINTAINER:=Michael Heimpold <mhei@heimpold.de>
  15. PKG_LICENSE:=BSD-2-Clause
  16. PKG_LICENSE_FILES:=LICENSE
  17. PKG_BUILD_DIR:=$(BUILD_DIR)/pecl-php7/$(PECL_NAME)-$(PKG_VERSION)
  18. PKG_BUILD_PARALLEL:=1
  19. PKG_FIXUP:=autoreconf
  20. include $(INCLUDE_DIR)/package.mk
  21. include $(INCLUDE_DIR)/nls.mk
  22. include ../php7/pecl.mk
  23. CONFIGURE_ARGS+= \
  24. --enable-propro
  25. define Build/InstallDev
  26. mkdir -p $(STAGING_DIR)/usr/include/php7/ext/$(PECL_NAME)
  27. $(CP) $(PKG_BUILD_DIR)/php_propro.h $(STAGING_DIR)/usr/include/php7/ext/$(PECL_NAME)/
  28. $(CP) $(PKG_BUILD_DIR)/php_propro_api.h $(STAGING_DIR)/usr/include/php7/ext/$(PECL_NAME)/
  29. endef
  30. $(eval $(call PECLPackage,$(PECL_NAME),$(PECL_LONGNAME)))
  31. $(eval $(call BuildPackage,$(PKG_NAME)))