libcbor: fix license info in Makefile
[feed/packages.git] / lang / perl-compress-bzip2 / Makefile
1 #
2 # Copyright (C) 2014, 2015 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=perl-compress-bzip2
11 PKG_VERSION:=2.28
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=Compress-Bzip2-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://www.cpan.org/authors/id/R/RU/RURBAN/
16 PKG_HASH:=859f835c3f5c998810d8b2a6f9e282ff99d6cb66ccfa55cae7e66dafb035116e
17 PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Compress-Bzip2-$(PKG_VERSION)
18
19 PKG_MAINTAINER:=Marcel Denia <naoir@gmx.net>
20 PKG_LICENSE:=GPL-1.0-or-later Artistic-1.0-Perl
21 PKG_LICENSE_FILES:=COPYING
22
23 include $(INCLUDE_DIR)/package.mk
24 include ../perl/perlmod.mk
25
26 define Package/perl-compress-bzip2
27 SUBMENU:=Perl
28 SECTION:=lang
29 CATEGORY:=Languages
30 TITLE:=Perl interface to bzip2 compression library
31 URL:=https://search.cpan.org/dist/Compress-Bzip2/
32 DEPENDS:=perl +libbz2 +perlbase-autoloader +perlbase-config +perlbase-essential +perlbase-fcntl +perlbase-file +perlbase-getopt +perlbase-test +perlbase-xsloader
33 endef
34
35 define Build/Configure
36 $(call perlmod/Configure,,BUILD_BZLIB=0)
37 endef
38
39 define Build/Compile
40 $(call perlmod/Compile,,)
41 endef
42
43 define Package/perl-compress-bzip2/install
44 $(call perlmod/Install,$(1),Compress auto/Compress)
45 endef
46
47
48 $(eval $(call BuildPackage,perl-compress-bzip2))