git-svn-id: svn://svn.openwrt.org/openwrt/packages@5233 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2006-10-19 15:26:14 +00:00
parent d7767671ef
commit 00c32b752c
39 changed files with 110 additions and 182 deletions

View File

@ -33,14 +33,12 @@ define Package/osirisd
endef
define Build/Configure
$(call Build/Configure/Default, \
--with-osiris-user=root \
--with-root-dir=/var/lib/osiris \
--with-readline=no, \
ac_cv_openssldir="$(STAGING_DIR)/usr" \
ac_cv_have_accrights_in_msghdr=no \
ac_cv_have_control_in_msghdr=yes \
)
$(call Build/Configure/Default, \
--with-osiris-user=root \
--with-root-dir=/var/lib/osiris \
--with-readline=no, \
ac_cv_openssldir="$(STAGING_DIR)/usr" \
)
endef
define Build/Compile

View File

@ -89,9 +89,6 @@ define Build/Configure
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \
ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes \
ac_cv_func_memcmp_working=yes \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \

View File

@ -39,12 +39,6 @@ endef
define Build/Configure
(cd $(PKG_BUILD_DIR); rm -f config.cache; \
glib_cv_sizeof_gmutex=24 \
ac_cv_sizeof_char=1 \
ac_cv_sizeof_short=2 \
ac_cv_sizeof_int=4 \
ac_cv_sizeof_long=4 \
ac_cv_sizeof_long_long=8 \
ac_cv_sizeof_void_p=4 \
glib_cv_prog_cc_ansi_proto="no" \
glib_cv_has__inline="yes" \
glib_cv_has__inline__="yes" \
@ -55,7 +49,6 @@ define Build/Configure
glib_cv_va_val_copy="yes" \
glib_cv_rtldglobal_broken="no" \
glib_cv_uscore="no" \
ac_cv_func_getpwuid_r="yes" \
glib_cv_func_pthread_mutex_trylock_posix="yes" \
glib_cv_func_pthread_cond_timedwait_posix="yes" \
glib_cv_sizeof_gmutex="24" \

View File

@ -41,7 +41,6 @@ define Build/Configure
libelf_cv_struct_elf64_ehdr=yes \
libelf_cv_type_elf64_addr=no \
libelf_cv_struct_elf64_rel=yes \
ac_cv_sizeof_long_long=8 \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \

View File

@ -42,11 +42,6 @@ define Package/libgphoto2-drivers
TITLE:=Gphoto2 drivers for various cameras
endef
BIG_ENDIAN:=no
ifeq ($(CONFIG_BIG_ENDIAN),y)
BIG_ENDIAN:=yes
endif
define Build/Configure
$(call Build/Configure/Default, \
--enable-shared \
@ -63,8 +58,6 @@ define Build/Configure
LIBUSB_CFLAGS="$$$$CPPFLAGS" \
LIBUSB_LIBS="$$$$LDFLAGS -lusb" \
LIBS="-lltdl" \
ac_cv_c_gettext_without_libintl=yes \
ac_cv_c_bigendian=$(BIG_ENDIAN) \
)
endef

View File

@ -46,11 +46,9 @@ define Build/Configure
$(call Build/Configure/Default, \
--enable-shared \
--enable-static \
--with-pf_packet=yes \
, \
ac_libnet_have_pf_packet=yes \
ac_cv_lbl_unaligned_fail=no \
--with-pf_packet=yes, \
ac_cv_libnet_endianess=$(ENDIANESS) \
ac_libnet_have_pf_packet=yes \
)
endef

View File

@ -46,11 +46,9 @@ define Build/Configure
$(call Build/Configure/Default, \
--enable-shared \
--enable-static \
--with-pf_packet=yes \
, \
ac_libnet_have_pf_packet=yes \
ac_cv_lbl_unaligned_fail=no \
--with-pf_packet=yes, \
ac_cv_libnet_endianess=$(ENDIANESS) \
ac_libnet_have_pf_packet=yes \
ac_libnet_have_packet_socket=yes \
)
endef

View File

@ -36,7 +36,6 @@ define Build/Configure
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
ac_cv_c_bigendian=no \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \

View File

@ -48,10 +48,6 @@ define Build/Configure
CXXFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
ac_atomic_add=yes \
ac_atomic_sub=yes \
ac_cv_sys_restartable_syscalls=yes \
ac_cv_conv_longlong_to_float=yes \
mysql_cv_compress=yes \
mysql_cv_gethostname_style=glibc2 \
./configure \

View File

@ -37,6 +37,7 @@ define Build/Compile
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
(cd $(PKG_BUILD_DIR); rm -f config.cache; \
CONFIG_SITE="" \
./configure \
--target=$(GNU_HOST_NAME) \
--host=$(GNU_HOST_NAME) \
@ -80,7 +81,6 @@ define Build/Compile
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
ac_cv_linux_vers="2" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \

View File

@ -119,7 +119,6 @@ define Build/Compile
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib " \
ac_cv_func_memcmp_clean="yes" \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \

View File

@ -62,7 +62,6 @@ define Build/Configure
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
ac_cv_func_getdomainname=yes \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \

View File

@ -36,7 +36,6 @@ define Build/Configure
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
ac_cv_func_malloc_0_nonnull=yes \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \

View File

@ -31,11 +31,6 @@ define Package/gphoto2
URL:=http://www.gphoto.org/
endef
BIG_ENDIAN:=no
ifeq ($(CONFIG_BIG_ENDIAN),y)
BIG_ENDIAN:=yes
endif
define Build/Configure
$(call Build/Configure/Default, \
--without-libiconv-prefix \
@ -47,8 +42,6 @@ define Build/Configure
LIBEXIF_LIBS="$$$$LDFLAGS -lexif" \
POPT_CFLAGS="$$$$CFLAGS $$$$CPPFLAGS" \
POPT_LIBS="$$$$LDFLAGS -lpopt" \
ac_cv_c_bigendian="$(BIG_ENDIAN)" \
ac_cv_func_malloc_0_nonnull=yes \
)
endef

View File

@ -48,9 +48,6 @@ define Build/Configure
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_memcmp_working=yes \
ac_cv_func_setvbuf_reversed=no \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \

View File

@ -41,13 +41,8 @@ define Package/roofnet
URL:=http://pdos.csail.mit.edu/roofnet/
endef
CONF_OPTS= \
ac_cv_int64_t=no \
ac_cv_sizeof_off_t=4
define Build/Configure
(cd $(PKG_BUILD_DIR); \
$(CONF_OPTS) \
./configure; \
cp include/click/config.h include/click/config-host.h; \
rm -rf config.{cache,status} ; \

View File

@ -35,7 +35,7 @@ define Package/dhcp-forwarder/conffiles
endef
define Build/Configure
$(call Build/Configure/Default,,ac_cv_func_malloc_0_nonnull="yes")
$(call Build/Configure/Default)
endef
define Build/Compile

View File

@ -32,14 +32,16 @@ characteristics.\\\
endef
define Build/Configure
$(call Build/Configure/Default,--enable-shared \
--disable-static \
--disable-rpath \
--disable-multicast \
--disable-threads,CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++" \
LDFLAGS="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
LIBS="-luClibc++ -lc -lm -lgcc_s" \
ac_cv_func_malloc_0_nonnull=yes)
$(call Build/Configure/Default, \
--enable-shared \
--disable-static \
--disable-rpath \
--disable-multicast \
--disable-threads, \
CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++" \
LDFLAGS="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
LIBS="-luClibc++ -lc -lm -lgcc_s" \
)
endef
define Build/Compile

View File

@ -34,12 +34,13 @@ for IRC-networks.\\\
endef
define Build/Configure
$(call Build/Configure/Default,--enable-automode \
--enable-releasenick \
--enable-uptime \
--enable-privlog \
--enable-onconnect,ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes)
$(call Build/Configure/Default, \
--enable-automode \
--enable-releasenick \
--enable-uptime \
--enable-privlog \
--enable-onconnect \
)
endef

View File

@ -40,10 +40,12 @@ define Package/nfs-kernel-server/conffiles
endef
define Build/Configure
$(call Build/Configure/Default,--enable-static --enable-shared --disable-nfsv4 \
--disable-gss,ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_memcmp_working=yes \
ac_cv_func_setvbuf_reversed=no)
$(call Build/Configure/Default, \
--enable-static \
--enable-shared \
--disable-nfsv4 \
--disable-gss \
)
endef
define Build/Compile

View File

@ -35,7 +35,7 @@ define Package/ptunnel
endef
define Build/Configure
$(call Build/Configure/Default,--enable-shared \
$(call Build/Configure/Default,--enable-shared \
--disable-static \
--with-gnu-ld, \
$(TARGET_CONFIGURE_OPTS) \
@ -44,8 +44,8 @@ $(call Build/Configure/Default,--enable-shared \
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
ac_cv_linux_vers=2 \
td_cv_buggygetaddrinfo="no")
td_cv_buggygetaddrinfo="no" \
)
endef
define Build/Compile

View File

@ -34,9 +34,7 @@ define Package/raddump
endef
define Build/Configure
$(call Build/Configure/Default,,ac_cv_c_bigendian=no \
ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes)
$(call Build/Configure/Default)
endef
define Build/Compile

View File

@ -54,12 +54,6 @@ define Build/Configure
(cd $(PKG_BUILD_DIR)/src ; rm -rf config.{cache,status}; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
ac_cv_func_setvbuf_reversed=no \
ac_cv_sizeof_unsigned_short=2 \
ac_cv_sizeof_unsigned_int=4 \
ac_cv_sizeof_unsigned_long=4 \
ac_cv_linux_kernel_pppoe=yes \
ac_cv_pack_bitfields_reversed=yes \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \

View File

@ -82,9 +82,6 @@ define Build/Compile
CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
LDFLAGS="-lgcc_s -L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \
ac_cv_lib_cups_httpConnect=no \
ac_cv_sizeof_int=4 \
ac_cv_sizeof_long=4 \
ac_cv_sizeof_short=2 \
samba_cv_FTRUNCATE_NEEDS_ROOT=no \
samba_cv_HAVE_BROKEN_FCNTL64_LOCKS=no \
samba_cv_HAVE_BROKEN_GETGROUPS=no \

View File

@ -47,7 +47,6 @@ define Build/Configure
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
LIBS="-lncurses" \
ac_cv_func_malloc_0_nonnull=yes \
ac_cv_lib_ncurses_use_default_colors=yes \
./configure \
--target=$(GNU_TARGET_NAME) \

View File

@ -138,26 +138,7 @@ define Build/Configure
--enable-ntlm-auth-helpers="fakeauth SMB winbind" \
--enable-digest-auth-helpers="password" \
--enable-external-acl-helpers="ip_user unix_group winbind_group" \
, \
ac_cv_sizeof_void_p=4 \
ac_cv_sizeof_short=2 \
ac_cv_sizeof_int=4 \
ac_cv_sizeof_long=4 \
ac_cv_sizeof_long_long=8 \
ac_cv_sizeof___int64=0 \
ac_cv_sizeof_int16_t=2 \
ac_cv_sizeof_uint16_t=2 \
ac_cv_sizeof_u_int16_t=2 \
ac_cv_sizeof_int32_t=4 \
ac_cv_sizeof_uint32_t=4 \
ac_cv_sizeof_u_int32_t=4 \
ac_cv_sizeof_int64_t=8 \
ac_cv_sizeof_uint64_t=8 \
ac_cv_sizeof_u_int64_t=8 \
ac_cv_func_setresuid=no \
ac_cv_func_va_copy=no \
ac_cv_func___va_copy=no \
)
)
endef
define Build/Compile

View File

@ -31,17 +31,19 @@ define Package/tmsnc
endef
define Build/Configure
$(call Build/Configure/Default,--with-libiconv-prefix=$(STAGING_DIR)/usr \
--with-openssl="$(STAGING_DIR)/usr" \
--with-ncurses="$(STAGING_DIR)/usr" \
--with-gnu-ld, ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes)
$(call Build/Configure/Default, \
--with-libiconv-prefix=$(STAGING_DIR)/usr \
--with-openssl="$(STAGING_DIR)/usr" \
--with-ncurses="$(STAGING_DIR)/usr" \
--with-gnu-ld \
)
endef
define Build/Compile
$(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" \
$(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" \
CFLAGS="$(TARGET_CFLAGS)" \
install)
install \
)
rm -rf $(PKG_INSTALL_DIR)/usr/man
endef

View File

@ -42,7 +42,8 @@ endef
define Build/Compile
$(call Build/Compile/Default, \
CFLAGS="$(TARGET_CFLAGS)" \
CFLAGS="$(TARGET_CFLAGS) -fno-builtin -fno-rtti -nostdinc++" \
STAGING_DIR="$(STAGING_DIR)" \
DESTDIR="$(PKG_INSTALL_DIR)" \
repeater)
endef

View File

@ -34,10 +34,12 @@ define Package/wccpd
endef
define Build/Configure
$(call Build/Configure/Default,--enable-shared \
--enable-static \
--disable-rpath \
--with-gnu-ld,ac_cv_func_setpgrp_void=yes)
$(call Build/Configure/Default,
--enable-shared \
--enable-static \
--disable-rpath \
--with-gnu-ld \
)
endef
define Build/Compile

View File

@ -39,9 +39,7 @@ define Package/wifidog/conffiles
endef
define Build/Configure
$(call Build/Configure/Default,,ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_memcmp_working=yes \
ac_cv_func_setvbuf_reversed=no)
$(call Build/Configure/Default)
endef
define Build/Compile

View File

@ -35,19 +35,19 @@ full support for ID3 tags.\\\
endef
define Build/Configure
$(call Build/Configure/Default,--enable-shared \
--disable-static \
--with-gnu-ld \
--disable-rpath \
--disable-debugging \
--disable-profiling \
--disable-experimental \
--without-libiconv-prefix \
--without-libintl-prefix \
--without-alsa \
--without-esd,LIBS="-lz" \
ac_cv_linux_vers=2 \
td_cv_buggygetaddrinfo="no")
$(call Build/Configure/Default, \
--enable-shared \
--disable-static \
--with-gnu-ld \
--disable-rpath \
--disable-debugging \
--disable-profiling \
--disable-experimental \
--without-libiconv-prefix \
--without-libintl-prefix \
--without-alsa \
--without-esd,LIBS="-lz" \
)
endef
define Build/Compile

View File

@ -37,16 +37,18 @@ define Package/mt-daapd/conffiles
endef
define Build/Configure
$(call Build/Configure/Default,--enable-shared \
--disable-static \
--enable-mdns \
--enable-howl \
--with-id3tag="$(STAGING_DIR)/usr" \
--with-gdbm-includes="$(STAGING_DIR)/usr/include" \
--with-gdbm-libs="$(STAGING_DIR)/usr/lib" \
--with-howl-includes="$(STAGING_DIR)/usr/include/howl" \
--with-howl-libs="$(STAGING_DIR)/usr/lib" \
--without-static-libs,ac_cv_func_setpgrp_void=yes)
$(call Build/Configure/Default, \
--enable-shared \
--disable-static \
--enable-mdns \
--enable-howl \
--with-id3tag="$(STAGING_DIR)/usr" \
--with-gdbm-includes="$(STAGING_DIR)/usr/include" \
--with-gdbm-libs="$(STAGING_DIR)/usr/lib" \
--with-howl-includes="$(STAGING_DIR)/usr/include/howl" \
--with-howl-libs="$(STAGING_DIR)/usr/lib" \
--without-static-libs \
)
endef
define Build/Compile

View File

@ -32,12 +32,11 @@ define Package/fetchmail
endef
define Build/Configure
$(call Build/Configure/Default,--enable-fallback=procmail --without-hesiod,ac_cv_c_bigendian=no \
ac_cv_sizeof_off_t=8 \
ac_cv_sizeof_int=4 \
ac_cv_sizeof_long=4 \
ac_cv_path_procmail=/usr/sbin/procmail \
)
$(call Build/Configure/Default, \
--enable-fallback=procmail \
--without-hesiod, \
ac_cv_path_procmail=/usr/sbin/procmail \
)
endef
define Build/Compile

View File

@ -36,8 +36,6 @@ define Build/Configure
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
ac_cv_c_bigendian=no \
ac_cv_sizeof_off_t=8 \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \

View File

@ -31,14 +31,13 @@ define Package/mutt
endef
define Build/Configure
$(call Build/Configure/Default,--includedir=$(PKG_BUILD_DIR)/. \
$(call Build/Configure/Default, \
--includedir=$(PKG_BUILD_DIR)/. \
--oldincludedir=$(PKG_BUILD_DIR)/. \
--enable-pop \
--enable-imap \
--with-ssl,ac_cv_c_bigendian=no \
ac_cv_sizeof_off_t=8 \
ac_cv_sizeof_int=4 \
ac_cv_sizeof_long=4)
--with-ssl \
)
endef
define Package/mutt/install

View File

@ -59,20 +59,22 @@ define Package/rrdcollect-example/conffiles
endef
define Build/Configure
$(call Build/Configure/Default,--enable-shared \
--disable-static \
--disable-rpath \
--with-gnu-ld \
--enable-exec \
--without-rrdtool \
--with-librrd \
--without-libpcre \
--without-libpcap, CFLAGS="$(TARGET_CFLAGS) -DSOCKET_COMM" \
$(call Build/Configure/Default, \
--enable-shared \
--disable-static \
--disable-rpath \
--with-gnu-ld \
--enable-exec \
--without-rrdtool \
--with-librrd \
--without-libpcre \
--without-libpcap, \
CFLAGS="$(TARGET_CFLAGS) -DSOCKET_COMM" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
LIBS="$(RRDTOOL_LIBS) -lz" \
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \
ac_cv_func_malloc_0_nonnull=yes)
)
endef
define Build/Compile

View File

@ -35,7 +35,6 @@ endef
define Build/Configure
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
$(foreach flag,rename fchmod fchown strerror lstat _exit utimes vsnprintf getcwd setlocale strftime,ac_cv_func_$(flag)=yes ) \
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib" \

View File

@ -37,7 +37,6 @@ define Build/Configure
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
ac_cv_func_malloc_0_nonnull=yes \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \

View File

@ -31,21 +31,21 @@ define Package/vim
endef
define Build/Configure
$(call Build/Configure/Default,--enable-min-features \
$(call Build/Configure/Default, \
--enable-min-features \
--disable-gui \
--without-x \
--disable-multibyte \
--disable-cscope \
--disable-gpm \
--with-tlib=ncurses,ac_cv_c_bigendian=no \
ac_cv_sizeof_off_t=8 \
ac_cv_sizeof_int=4)
--with-tlib=ncurses \
)
endef
define Package/vim/install
mkdir -p $(1)/usr/bin
mkdir -p $(1)//usr/share/vim
$(CP) ./files/vimrc $(1)//usr/share/vim
mkdir -p $(1)/usr/share/vim
$(CP) ./files/vimrc $(1)/usr/share/vim
$(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/
endef