mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
- ar=$(TARGET_CROSS)ar \
DESTDIR="$(PKG_INSTALL_DIR)" \
INTERACTIVE=0 \
all install
/etc/dhcp6/solicit.conf
endef
-
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)/server \
CC="$(TARGET_CC)" STAGING_DIR=$(STAGING_DIR)
SPACE_OPTIMIZE=yes \
FULL_STATIC=yes \
CFLAGS="$(TARGET_CFLAGS) -DNO_INET6_OPTION" \
- CXX=$(TARGET_CROSS)g++ \
- CC=$(TARGET_CC) \
+ CXX="$(TARGET_CROSS)g++" \
+ CC="$(TARGET_CC)" \
STAGING_DIR=$(STAGING_DIR) \
DESTDIR=$(PKG_INSTALL_DIR) \
PREFIX=/usr/ \
SECTION:=libs
CATEGORY:=Libraries
TITLE:=Embedded client/server TLSv1 SSL library
+ DEPENDS:=libgdbm
DESCRIPTION:=Embedded client/server TLSv1 SSL library.
URL:=http://sourceforge.net/projects/axtls
endef
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
- CC="$(TARGET_CC)" \
DESTDIR="$(PKG_INSTALL_DIR)" \
libbz2.a
endef
URL:=http://sourceforge.net/projects/clinkc
endef
-define Package/Configure
-$(call Build/Configure/Default)
-endef
-
define Build/Compile
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
endef
define Build/Compile
- rm -rf $(PKG_INSTALL_DIR)
- mkdir -p $(PKG_INSTALL_DIR)
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC="$(TARGET_CC)" \
- DESTDIR="$(PKG_INSTALL_DIR)" \
- all install
+ $(call Build/Compile/Default, DESTDIR="$(PKG_INSTALL_DIR)" all install)
endef
define Package/libgmp/install
URL:=http://libcli.sourceforge.net/
endef
-define Build/Configure
-endef
-
define Build/Compile
- rm -rf $(PKG_INSTALL_DIR)
- mkdir -p $(PKG_INSTALL_DIR)
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC="$(TARGET_CC)" \
- LD="$(TARGET_CC)" \
- DESTDIR="$(PKG_INSTALL_DIR)" \
- all install
+ $(call Build/Compile/Default, DESTDIR="$(PKG_INSTALL_DIR)" all install)
endef
define Package/libcli/install
URL:=http://www.gnu.org/software/libiconv/
endef
-define Build/Configure
-$(call Build/Configure/Default)
-endef
-
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)"
$(STAGING_DIR)/usr/lib/libjpeg.{a,so*}
endef
-$(eval $(call Build/DefaultTargets))
+$(eval $(call BuildPackage,libjpeg))
$(call Build/Configure/Default,--enable-shared \
--disable-static \
--with-gnu-ld \
- --enable-staticbin, BUILD_CC=$(TARGET_CC) HOSTCC=$(HOSTCC) \
+ --enable-staticbin, \
$(TARGET_CONFIGURE_OPTS) \
+ BUILD_CC="$(TARGET_CC)" HOSTCC="$(HOSTCC)" \
CFLAGS="$(TARGET_CFLAGS)" \
CXXFLAGS="$(TARGET_CFLAGS) -fno-builtin -nostdinc++ -nodefaultlibs" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
endef
define Build/Compile
- rm -rf $(PKG_INSTALL_DIR)
- mkdir -p $(PKG_INSTALL_DIR)
- $(MAKE) -C $(PKG_BUILD_DIR) \
- DESTDIR="$(PKG_INSTALL_DIR)" \
- all install
+ $(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" all install)
endef
define Package/peercast/install
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
- CC="$(TARGET_CC)" \
+ $(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -Wall" \
prefix="/usr" \
destdir="$(PKG_INSTALL_DIR)" \
endef
define Build/Compile
- $(call Build/Compile/Default,CC="$(TARGET_CC)" \
-KERNEL_DIR="$(LINUX_DIR)/" KCC="$(TARGET_CC)" LD="$(TARGET_CROSS)ld" \
+ $(call Build/Compile/Default, \
+KERNEL_DIR="$(LINUX_DIR)/" KCC="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS)" aodvd)
endef
fi
endef
-define Build/Configure
-$(call Build/Configure/Default)
-endef
-
define Build/Compile
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
endef
define Build/Compile
- rm -rf $(PKG_INSTALL_DIR)
- mkdir -p $(PKG_INSTALL_DIR)
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS) -Wall -D\"SSH_PATH=\\\"$(SSH)\\\"\" -D\"VER=\\\"$(PKG_VERSION)\\\"\"" \
- BINDIR=/usr/bin MANDIR=/usr/man
+$(call Build/Compile/Default, \
+ CFLAGS="$(TARGET_CFLAGS) -Wall -D\"SSH_PATH=\\\"$(SSH)\\\"\" -D\"VER=\\\"$(PKG_VERSION)\\\"\"" \
+ BINDIR=/usr/bin MANDIR=/usr/man \
+)
endef
define Package/autossh/install
gen
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
- STAGING_DIR=$(STAGING_DIR) \
all install
endef
URL:=http://www.bitchx.org
endef
-define Build/Configure
-$(call Build/Configure/Default)
-endef
-
define Build/Compile
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
endef
define Build/Compile
- $(MAKE) STAGING_DIR=$(STAGING_DIR) DESTDIR=$(PKG_INSTALL_DIR) -C $(PKG_BUILD_DIR) install
+ $(call Build/Compile/Default, DESTDIR=$(PKG_INSTALL_DIR) install)
endef
define Package/ctorrent/install
);
endef
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR)\
- CC="$(TARGET_CC)" LD="$(TARGET_CROSS)ld"
-endef
-
define Package/elinks/install
mkdir -p $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/src/elinks $(1)/usr/bin/
URL:=http://sourceforge.net/projects/gkernel/
endef
-define Build/Configure
-$(call Build/Configure/Default)
-endef
-
define Build/Compile
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
URL:=http://www.fping.com
endef
-define Build/Configure
-$(call Build/Configure/Default)
-endef
-
define Build/Compile
$(MAKE) -j1 CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" -C $(PKG_BUILD_DIR) clean $(PKG_NAME)
mv $(PKG_BUILD_DIR)/$(PKG_NAME) $(PKG_BUILD_DIR)/$(PKG_NAME)4
URL:=http://www.vanheusden.com/httping/
endef
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) -f $(PKG_BUILD_DIR)/Makefile$(SSL_ENABLE) \
- CC="$(TARGET_CC)" STAGING_DIR=$(STAGING_DIR)
+define Build/Compile
+ $(call Build/Compile/Default,-f $(PKG_BUILD_DIR)/Makefile$(SSL_ENABLE) STAGING_DIR=$(STAGING_DIR))
endef
define Package/httping/install
URL:=http://www.ex-parrot.com/~pdw/iftop/
endef
-define Build/Configure
-$(call Build/Configure/Default)
-endef
-
define Build/Compile
- rm -rf $(PKG_INSTALL_DIR)
- mkdir -p $(PKG_INSTALL_DIR)
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC="$(TARGET_CC)" \
- DESTDIR="$(PKG_INSTALL_DIR)" \
- install
+ $(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" install)
endef
define Package/iftop/install
URL:=http://www.nobiscuit.com/iptables-snmp/
endef
-define Build/Configure
-$(call Build/Configure/Default)
-endef
-
define Build/Compile
- rm -rf $(PKG_INSTALL_DIR)
- mkdir -p $(PKG_INSTALL_DIR)
- $(MAKE) -C $(PKG_BUILD_DIR) \
+ $(call Build/Compile/Default, \
INSTALL_PREFIX="$(PKG_INSTALL_DIR)" \
- all install
+ all install \
+ )
endef
define Package/iptables-snmp/install
ac_cv_sizeof_off_t=8)
endef
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC="$(TARGET_CC)"
-endef
-
define Package/irssi/install
mkdir -p $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/src/fe-text/$(PKG_NAME) $(1)/usr/bin/
endef
define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
- $(TARGET_CONFIGURE_OPTS) \
- CC="$(TARGET_CC)" \
- CFLAGS="$(TARGET_CFLAGS) -I. -DLINUX -DSANITY -DIP_ALLOCATION"
+ $(call Build/Compile/Default,CFLAGS="$(TARGET_CFLAGS) -I. -DLINUX -DSANITY -DIP_ALLOCATION")
endef
define Package/l2tpd/install
endef
define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC="$(TARGET_CC)" \
- LD="$(TARGET_CC)" \
- OPTIM="$(TARGET_CFLAGS)" \
- DESTDIR=$(PKG_INSTALL_DIR) \
- STAGING_DIR=$(STAGING_DIR) \
- all install
+ $(call Build/Compile/Default, LD="$(TARGET_CC)" OPTIM="$(TARGET_CFLAGS)" STAGING_DIR=$(STAGING_DIR) DESTDIR=$(PKG_INSTALL_DIR) all install)
endef
define Package/l2tpns/install
define Build/Compile
- rm -rf $(PKG_INSTALL_DIR)
- mkdir -p $(PKG_INSTALL_DIR)
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC=$(TARGET_CC) \
- DESTDIR="$(PKG_INSTALL_DIR)" \
- install
+ $(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" install)
endef
define Package/miau/install
URL:=http://www.eja.it/?l=gpl&testo=miax
endef
-define Build/Compile
+define Build/Compile
$(MAKE) -C "$(PKG_BUILD_DIR)" \
CC="$(TARGET_CC)" \
OFLAGS="$(TARGET_CFLAGS)" \
# with MatrixSSL
ifneq ($(CONFIG_PACKAGE_mini-httpd-matrixssl),)
$(MAKE) -C $(PKG_BUILD_DIR) \
- CC=$(TARGET_CC) \
+ $(TARGET_CONFIGURE_OPTS) \
OFLAGS="$(TARGET_CFLAGS)" \
SSL_DEFS="-DUSE_SSL -DHAVE_MATRIXSSL" \
SSL_INC="-I$(STAGING_DIR)/usr/include" \
# with OpenSSL
ifneq ($(CONFIG_PACKAGE_mini-httpd-openssl),)
$(MAKE) -C $(PKG_BUILD_DIR) \
- CC=$(TARGET_CC) \
+ $(TARGET_CONFIGURE_OPTS) \
OFLAGS="$(TARGET_CFLAGS)" \
SSL_DEFS="-DUSE_SSL -DHAVE_OPENSSL" \
SSL_INC="-I$(STAGING_DIR)/usr/include" \
# without SSL
ifneq ($(CONFIG_PACKAGE_mini-httpd),)
$(MAKE) -C $(PKG_BUILD_DIR) \
- CC=$(TARGET_CC) \
+ $(TARGET_CONFIGURE_OPTS) \
OFLAGS="$(TARGET_CFLAGS)" \
all
endif
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
- CC=$(TARGET_CC) \
+ $(TARGET_CONFIGURE_OPTS) \
OFLAGS="$(TARGET_CFLAGS)" \
all
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
TARGET_NETPERF_HOME="/etc/netperf.conf" \
- TARGET_CC=$(TARGET_CROSS)gcc \
+ TARGET_CC="$(TARGET_CROSS)gcc" \
TARGET_CFLAGS="$(TARGET_CFLAGS)" \
TARGET_LIBS="" \
all
URL:=http://tweegy.demon.nl/projects/netstat-nat/
endef
-define Build/Configure
-$(call Build/Configure/Default)
-endef
-
define Build/Compile
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
DESCRIPTION:=User Space NFS server
endef
-define Build/Configure
-$(call Build/Configure/Default)
-endef
-
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)
endef
URL:=http://doolittle.faludi.com/ntpclient
endef
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" all adjtimex
+define Build/Compile
+ $(call Build/Compile/Default,all adjtimex)
endef
define Package/ntpclient/install
define Build/Configure
-$(call Build/Configure/Default,--includedir=$(PKG_BUILD_DIR)/)
+ $(call Build/Configure/Default,--includedir=$(PKG_BUILD_DIR)/)
endef
define Build/Compile
- rm -rf $(PKG_INSTALL_DIR)
- mkdir -p $(PKG_INSTALL_DIR)
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC="$(TARGET_CC)"
+ $(call Build/Compile/Default)
$(STRIP) $(PKG_BUILD_DIR)/src/$(PKG_NAME)
endef
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -DUSE_ADJTIMEX"
- touch $@
endef
define Package/openntpd/install
endef
define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="" \
- all
+ $(call Build/Compile/Default,CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="" all)
endef
define Package/parprouted/install
/etc/p2p.p2b.p2p
endef
-define Build/Configure
-$(call Build/Configure/Default)
-endef
-
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
- STAGING_DIR=$(STAGING_DIR)
-endef
-
define Package/peerguardian/install
install -d -m0755 $(1)/usr/sbin $(1)/etc/init.d
install -m0755 $(PKG_BUILD_DIR)/peerguardnf $(1)/usr/sbin/
endef
define Build/Compile
- rm -rf $(PKG_INSTALL_DIR)
- mkdir -p $(PKG_INSTALL_DIR)
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC="$(TARGET_CC)" \
+ $(call Build/Compile/Default, \
CFLAGS="$(TARGET_CFLAGS) -DSBINDIR=\\\"/usr/sbin\\\"" \
DESTDIR="$(PKG_INSTALL_DIR)" \
INSTALL="install" \
- all install
+ all install \
+ )
endef
define Package/pptpd/install
endef
define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC="$(TARGET_CC)" \
- CFLAGS="$(TARGET_CFLAGS)" \
- HOSTCC="$(HOSTCC)" \
- all
+ $(call Build/Compile/Default, \
+ CFLAGS="$(TARGET_CFLAGS)" \
+ HOSTCC="$(HOSTCC)" \
+ all \
+ )
endef
define Package/psybnc/install
define Build/Configure
$(call Build/Configure/Default,--enable-shared \
--disable-static \
- --with-gnu-ld, BUILD_CC=$(TARGET_CC) \
- HOSTCC=$(HOSTCC) \
+ --with-gnu-ld, \
$(TARGET_CONFIGURE_OPTS) \
+ BUILD_CC="$(TARGET_CC)" \
+ HOSTCC="$(HOSTCC)" \
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
endef
define Build/Compile
- rm -rf $(PKG_INSTALL_DIR)
- mkdir -p $(PKG_INSTALL_DIR)
- $(MAKE) -C $(PKG_BUILD_DIR) \
+ $(call Build/Compile/Default, \
DESTDIR="$(PKG_INSTALL_DIR)" \
- all install
+ all install \
+ )
endef
define Package/ptunnel/install
endef
define Build/Compile
- rm -rf $(PKG_INSTALL_DIR)
- mkdir -p $(PKG_INSTALL_DIR)
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC=$(TARGET_CC) \
+ $(call Build/Compile/Default, \
CFLAGS="$(TARGET_CFLAGS)" \
DESTDIR="$(PKG_INSTALL_DIR)" \
- all install
+ all install \
+ )
endef
define Package/reaim/install
TITLE:=a PPP handler for the L2TP daeomon
endef
-define Build/Configure
-$(call Build/Configure/Default)
-endef
-
define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
- $(TARGET_CONFIGURE_OPTS) \
- DESTDIR="$(PKG_INSTALL_DIR)" \
- all install
+ $(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" all install)
endef
define Package/rp-l2tpd/install
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
- CC=$(TARGET_CC) LD=$(TARGET_CC) CFLAGS="-c $(TARGET_CFLAGS)" \
+ CC="$(TARGET_CC)" LD="$(TARGET_CC)" CFLAGS="-c $(TARGET_CFLAGS)" \
LDFLAGS= \
PCAP_H="-I$(STAGING_DIR)/usr/include" \
NIDS_H="-I$(STAGING_DIR)/usr/include" \
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)/src \
- CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld \
+ CC="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS) -Wall -I$(PKG_BUILD_DIR)/include/linux/include -I$(PKG_BUILD_DIR)/include -DVERSION=\\\"$(PKG_VERSION)\\\" -DDROP_NETBIOS"
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
- CC=$(TARGET_CC) \
- CC_linux=$(TARGET_CC) \
- CPP_linux=$(TARGET_CC) \
- CCLINK_linux=$(TARGET_CC) \
+ $(TARGET_CONFIGURE_OPTS) \
+ CC_linux="$(TARGET_CC)" \
+ CPP_linux="$(TARGET_CC)" \
+ CCLINK_linux="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS_linux="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -fno-builtin -nostdinc++" \
LFLAGS_linux="-nodefaultlibs -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
LIBS="-luClibc++ -lc -lm -lgcc -lpthread -ldl -lncurses" \
- STAGING_DIR=$(STAGING_DIR) \
all
endef
$(call Build/Configure/Default,--disable-thread)
endef
-define Build/Compile
-$(call Build/Compile/Default, CC=$(TARGET_CC) \
- all)
-endef
-
define Package/srelay/install
install -m0755 -d $(1)/usr/bin
install -m0755 -d $(1)/etc/init.d
endef
define Build/Configure
-$(call Build/Configure/Default,,BUILD_CC=$(TARGET_CC) HOSTCC=$(HOSTCC))
+ $(call Build/Configure/Default,,BUILD_CC="$(TARGET_CC)" HOSTCC="$(HOSTCC)")
endef
define Build/Compile
URL:=http://packages.debian.org/stable/mail/ssmtp
endef
-define Build/Configure
-$(call Build/Configure/Default)
-endef
-
+
define Build/Compile
$(call Build/Compile/Default,all)
endef
endef
define Build/Compile
-$(call Build/Compile/Default,CC=$(TARGET_CC) \
+$(call Build/Compile/Default,CC="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS)" \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install)
URL:=http://vgpd.freaknet.org/
endef
-define Build/Configure
-$(call Build/Configure/Default)
-endef
-
define Build/Compile
$(call Build/Compile/Default,DESTDIR=$(PKG_INSTALL_DIR) install)
endef
endef
define Build/Compile
-$(call Build/Compile/Default,CC="$(TARGET_CC)" \
+$(call Build/Compile/Default, \
CFLAGS="$(TARGET_CFLAGS)" \
DESTDIR="$(PKG_INSTALL_DIR)" \
repeater)
URL:=http://humdi.net/vnstat/
endef
-define Build/Compile
-$(call Build/Compile/Default)
-endef
-
define Package/vnstat/install
install -d -m0755 $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/src/vnstat $(1)/usr/bin/
endef
define Build/Compile
-$(call Build/Compile/Default,CC="$(TARGET_CC)" \
+$(call Build/Compile/Default, \
DBG_OPT="" \
MAIN_OPT="$(TARGET_CFLAGS)" \
vrrpd)
$(call Build/Configure/Default,--includedir=$(PKG_BUILD_DIR)/)
endef
-define Build/Compile
- rm -rf $(PKG_INSTALL_DIR)
- mkdir -p $(PKG_INSTALL_DIR)
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC="$(TARGET_CC)"
-endef
-
define Package/yafc/install
install -m0755 -d $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/sbin/
URL:=http://www.gnu.org/software/bc/
endef
-define Build/Configure
-$(call Build/Configure/Default)
-endef
-
-define Build/Compile
- rm -rf $(PKG_INSTALL_DIR)
- mkdir -p $(PKG_INSTALL_DIR)
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC="$(TARGET_CC)"
-endef
-
define Package/bc/install
install -m0755 -d $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME)/$(PKG_NAME) $(1)/usr/bin/$(PKG_NAME)
mkdir -p $(PKG_BUILD_DIR)
endef
-define Build/Configure
-endef
-
define Build/Compile
$(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/mount.cifs mount.cifs.c
endef
endef
define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC="$(TARGET_CC)" \
- CFLAGS="$(TARGET_CFLAGS)" \
- gcom
+ $(call Build/Compile/Default,gcom)
endef
define Package/comgt/install
URL:=http://deco.sourceforge.net/
endef
-define Build/Configure
-$(call Build/Configure/Default)
-endef
-
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)
endef
);
endef
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC="$(TARGET_CC)"
-endef
-
define Package/gnupg/install
install -d -m0755 $(1)/usr/bin
install -m0755 $(PKG_BUILD_DIR)/g10/gpg $(1)/usr/bin/
define Build/Configure
endef
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC="$(TARGET_CC)"
-endef
-
define Package/hdparm/install
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/hdparm $(1)/usr/sbin
/etc/heyu/x10.conf
endef
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC="$(TARGET_CC)" LD="$(TARGET_CROSS)ld" \
- CFLAGS="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR) -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT -DHASTZ"
+define Build/Compile
+ $(call Build/Compile/Default, CFLAGS="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR) -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT -DHASTZ")
endef
define Package/heyu/install
endef
define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC="$(TARGET_CC)" LD="$(TARGET_CROSS)ld" \
- CFLAGS="$(TARGET_CFLAGS) -Wall"
+ $(call Build/Compile/Default, CFLAGS="$(TARGET_CFLAGS) -Wall")
endef
define Package/lcd4linux/install
endef
define Build/Compile
- make -C ${PKG_BUILD_DIR} \
- CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
- LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
- CC="$(TARGET_CC)" logrotate
+ $(call Build/Compile/Default, \
+ CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
+ LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
+ logrotate \
+ )
endef
define Package/logrotate/install
URL:=http://www.alobbs.com/macchanger
endef
-define Build/Configure
-$(call Build/Configure/Default)
-endef
-
define Build/Compile
$(MAKE) DESTDIR=$(PKG_INSTALL_DIR) -C $(PKG_BUILD_DIR) install
endef
sed 's~gcc~$$(CC)~' $(PKG_BUILD_DIR)/Makefile.tmp > $(PKG_BUILD_DIR)/Makefile
endef
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) CC="$(TARGET_CC)"
-endef
-
define Package/microcom/install
install -d -m0755 $(1)/usr/bin
install -m0755 $(PKG_BUILD_DIR)/microcom $(1)/usr/bin
ac_cv_sizeof_long=4)
endef
-define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC=$(TARGET_CC)
-endef
-
define Package/mutt/install
mkdir -p $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
endef
define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
- CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" IDSDIR="/usr/share" HOST=$(GNU_TARGET_NAME)
+ $(call Build/Compile/Default, CFLAGS="$(TARGET_CFLAGS)" IDSDIR="/usr/share" HOST=$(GNU_TARGET_NAME))
endef
define Package/pciutils/install
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)/src -f ../Makefile.openwrt \
- CC=$(TARGET_CC)
+ $(TARGET_CONFIGURE_OPTS)
endef
define Package/procmail/install
ac_cv_sizeof_int=4)
endef
-define Build/Compile
-$(call Build/Compile/Default,CC="$(TARGET_CC)")
-endef
-
define Package/vim/install
mkdir -p $(1)/usr/bin
mkdir -p $(1)//usr/share/vim