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
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) \
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" \
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" \
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) \
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 \
LIBUSB_CFLAGS="$$$$CPPFLAGS" \
LIBUSB_LIBS="$$$$LDFLAGS -lusb" \
LIBS="-lltdl" \
- ac_cv_c_gettext_without_libintl=yes \
- ac_cv_c_bigendian=$(BIG_ENDIAN) \
)
endef
$(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
$(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
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) \
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 \
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) \
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) \
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) \
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) \
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) \
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 \
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
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) \
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} ; \
endef
define Build/Configure
-$(call Build/Configure/Default,,ac_cv_func_malloc_0_nonnull="yes")
+ $(call Build/Configure/Default)
endef
define Build/Compile
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
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
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
endef
define Build/Configure
-$(call Build/Configure/Default,--enable-shared \
+ $(call Build/Configure/Default,--enable-shared \
--disable-static \
--with-gnu-ld, \
$(TARGET_CONFIGURE_OPTS) \
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
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
(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) \
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 \
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) \
--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
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
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
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
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
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
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
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
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) \
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
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
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" \
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) \
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