Makefile cleanups, round 2
[openwrt/svn-archive/archive.git] / lang / perl-compress-bzip2 / Makefile
1 # $Id: Makefile 4033 2006-06-21 02:32:39Z nbd $
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=perl-compress-bzip2
6 PKG_VERSION:=2.09
7 PKG_RELEASE:=2
8 PKG_MD5SUM:=1699fde3e86f2a036f135ae606d456bf
9
10 PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/A/AR/ARJAY
11 PKG_SOURCE:=Compress-Bzip2-$(PKG_VERSION).tar.gz
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/perl/Compress-Bzip2-$(PKG_VERSION)
15
16 include $(INCLUDE_DIR)/package.mk
17 include ../perl/perlmod.mk
18
19 define Package/perl-compress-bzip2
20 SUBMENU:=Perl
21 SECTION:=lang
22 CATEGORY:=Languages
23 TITLE:=Perl interface to bzip2 compression library
24 URL:=http://search.cpan.org/~arjay/Compress-Bzip2-2.09/
25 DEPENDS:=perl +bzip2
26 endef
27
28 define Build/Configure
29 $(call perlmod/Configure,,BUILD_BZLIB=0)
30 endef
31
32 define Build/Compile
33 $(call perlmod/Compile,,)
34 endef
35
36 define Package/perl-compress-bzip2/install
37 $(call perlmod/Install,$(1),Compress auto/Compress)
38 endef
39
40
41 $(eval $(call BuildPackage,perl-compress-bzip2))