ca8e95a25d581e859d348d5838b80888af4392a3
1 include $(TOPDIR
)/rules.mk
6 PKG_MD5SUM
:=20633397bf5d462255f37dfcc7cad4e7
8 PKG_SOURCE_URL
:=http
://www.ewtoo.org
/~astyanax
/nano
/dist/v1.3 \
9 http
://www.nano-editor.org
/dist/v1.3
10 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
12 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
13 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
15 include $(TOPDIR
)/package
/rules.mk
17 $(eval
$(call PKG_template
,NANO
,nano
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
19 $(PKG_BUILD_DIR
)/.configured
: $(PKG_BUILD_DIR
)/.prepared
20 (cd
$(PKG_BUILD_DIR
); \
21 $(TARGET_CONFIGURE_OPTS
) \
22 CFLAGS
="$(TARGET_CFLAGS)" \
23 CPPFLAGS
="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include " \
24 LDFLAGS
="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
25 ac_cv_header_regex_h
=no \
27 --target
=$(GNU_TARGET_NAME
) \
28 --host
=$(GNU_TARGET_NAME
) \
29 --build
=$(GNU_HOST_NAME
) \
35 --datadir=/usr
/share \
36 --includedir=/usr
/include \
37 --infodir=/usr
/share
/info \
39 --libexecdir
=/usr
/lib \
40 --localstatedir
=/var \
41 --mandir=/usr
/share
/man \
44 $(DISABLE_LARGEFILE
) \
57 $(PKG_BUILD_DIR
)/.built
:
58 rm -rf
$(PKG_INSTALL_DIR
)
59 mkdir
-p
$(PKG_INSTALL_DIR
)
60 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
61 DESTDIR
="$(PKG_INSTALL_DIR)" \
66 install -d
-m0755
$(IDIR_NANO
)/usr
/bin
67 cp
-fpR
$(PKG_INSTALL_DIR
)/usr
/bin
/nano
$(IDIR_NANO
)/usr
/bin
/
68 $(RSTRIP
) $(IDIR_NANO
)
69 $(IPKG_BUILD
) $(IDIR_NANO
) $(PACKAGE_DIR
)
72 -$(MAKE
) -C
$(PKG_BUILD_DIR
) clean
73 rm -f
$(PKG_BUILD_DIR
)/.built
This page took 0.038544 seconds and 3 git commands to generate.