Allow compilation on >=2.6.30
[openwrt/svn-archive/archive.git] / lang / perl-lockfile-simple / Makefile
1
2 include $(TOPDIR)/rules.mk
3
4 PKG_NAME:=perl-lockfile-simple
5 PKG_VERSION:=0.206
6 PKG_RELEASE:=1
7 PKG_MD5SUM:=d8966c3fb799aefcaaf80f845057a1fa
8
9 PKG_SOURCE_URL:=http://search.cpan.org/CPAN/authors/id/J/JV/JV
10 PKG_SOURCE:=LockFile-Simple-$(PKG_VERSION).tar.gz
11
12 PKG_BUILD_DIR:=$(BUILD_DIR)/perl/LockFile-Simple-$(PKG_VERSION)
13
14 include $(INCLUDE_DIR)/package.mk
15 include ../perl/perlmod.mk
16
17 define Package/perl-lockfile-simple
18 SUBMENU:=Perl
19 SECTION:=lang
20 CATEGORY:=Languages
21 TITLE:=Simple advisory file locking
22 URL:=http://search.cpan.org/~ram/LockFile-Simple/
23 DEPENDS:=perl
24 endef
25
26 define Build/Configure
27 $(call perlmod/Configure,,)
28 endef
29
30 define Build/Compile
31 $(call perlmod/Compile,,)
32 endef
33
34 define Package/perl-lockfile-simple/install
35 $(call perlmod/Install,$(1),LockFile auto/LockFile)
36 endef
37
38
39 $(eval $(call BuildPackage,perl-lockfile-simple))