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

@ -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