3 include $(TOPDIR
)/rules.mk
9 PKG_SOURCE_URL
:=ftp
://ftp.vim.org
/pub
/vim
/unix
/
10 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
)-src.
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,VIM
,vim
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
20 $(PKG_BUILD_DIR
)/.configured
:
21 (cd
$(PKG_BUILD_DIR
)/src
; rm -rf config.cache
; \
22 $(TARGET_CONFIGURE_OPTS
) \
23 CFLAGS
="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
24 LDFLAGS
="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
25 ac_cv_c_bigendian
=no \
26 ac_cv_sizeof_off_t
=8 \
29 --target
=$(GNU_TARGET_NAME
) \
30 --host
=$(GNU_TARGET_NAME
) \
31 --build
=$(GNU_HOST_NAME
) \
36 --libexecdir
=/usr
/lib \
38 --datadir=/usr
/share \
39 --localstatedir
=/var \
44 --enable-min-features \
54 $(PKG_BUILD_DIR
)/.built
: $(PKG_BUILD_DIR
)/.configured
55 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
60 mkdir
-p
$(IDIR_VIM
)/usr
/bin
61 mkdir
-p
$(IDIR_VIM
)//usr
/share
/vim
62 $(CP
) .
/files
/vimrc
$(IDIR_VIM
)//usr
/share
/vim
63 $(CP
) $(PKG_BUILD_DIR
)/src
/$(PKG_NAME
) $(IDIR_VIM
)/usr
/bin
/
65 $(IPKG_BUILD
) $(IDIR_VIM
) $(PACKAGE_DIR
)
This page took 0.042893 seconds and 5 git commands to generate.