replace 'mkdir -p' by 'install -d -m0755'
[openwrt.git] / openwrt / package / microperl / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=microperl
6 PKG_VERSION:=5.8.6
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=8d4aa4e061fd5bc0c39e4f0a63267880
9
10 PKG_SOURCE_URL:=ftp://ftp.cpan.org/pub/CPAN/src/5.0 \
11 ftp://ftp.mpi-sb.mpg.de/pub/perl/CPAN/src/5.0 \
12 ftp://ftp.gmd.de/mirrors/CPAN/src/5.0 \
13 ftp://ftp.funet.fi/pub/languages/perl/CPAN/src/5.0
14 PKG_SOURCE:=perl-$(PKG_VERSION).tar.gz
15 PKG_CAT:=zcat
16
17 PKG_BUILD_DIR:=$(BUILD_DIR)/perl-$(PKG_VERSION)
18
19 include $(TOPDIR)/package/rules.mk
20
21 $(eval $(call PKG_template,MICROPERL,microperl,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
22
23 $(PKG_BUILD_DIR)/.configured:
24 touch $@
25
26 $(PKG_BUILD_DIR)/.built:
27 $(MAKE) -C $(PKG_BUILD_DIR) -f Makefile.micro \
28 CC="$(TARGET_CC)" OPTIMIZE="$(TARGET_CFLAGS)"
29 touch $@
30
31 $(IPKG_MICROPERL):
32 install -d -m0755 $(IDIR_MICROPERL)/usr/bin
33 install -m0755 $(PKG_BUILD_DIR)/microperl $(IDIR_MICROPERL)/usr/bin/
34 $(RSTRIP) $(IDIR_MICROPERL)
35 $(IPKG_BUILD) $(IDIR_MICROPERL) $(PACKAGE_DIR)
This page took 0.041431 seconds and 5 git commands to generate.