b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | # This is free software, licensed under the GNU General Public License v2. |
| 2 | # See /LICENSE for more information. |
| 3 | |
| 4 | include $(TOPDIR)/rules.mk |
| 5 | |
| 6 | PKG_NAME:=python-crcmod |
| 7 | PKG_VERSION:=1.7 |
| 8 | PKG_RELEASE:=2 |
| 9 | |
| 10 | PYPI_NAME:=crcmod |
| 11 | PKG_HASH:=dc7051a0db5f2bd48665a990d3ec1cc305a466a77358ca4492826f41f283601e |
| 12 | |
| 13 | PKG_LICENSE:=MIT |
| 14 | PKG_MAINTAINER:=David Bauer <mail@david-bauer.net> |
| 15 | |
| 16 | include ../pypi.mk |
| 17 | include $(INCLUDE_DIR)/package.mk |
| 18 | include ../python3-package.mk |
| 19 | |
| 20 | define Package/python3-crcmod |
| 21 | SECTION:=lang |
| 22 | CATEGORY:=Languages |
| 23 | SUBMENU:=Python |
| 24 | TITLE:=python3-crcmod |
| 25 | URL:=http://crcmod.sourceforge.net/ |
| 26 | DEPENDS:=+python3-light |
| 27 | endef |
| 28 | |
| 29 | define Package/python3-crcmod/description |
| 30 | The software in this package is a Python module for generating |
| 31 | objects that compute the Cyclic Redundancy Check (CRC). |
| 32 | endef |
| 33 | |
| 34 | $(eval $(call Py3Package,python3-crcmod)) |
| 35 | $(eval $(call BuildPackage,python3-crcmod)) |
| 36 | $(eval $(call BuildPackage,python3-crcmod-src)) |