clean up package titles/descriptions
[openwrt.git] / package / busybox / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=busybox
6 PKG_VERSION:=1.1.2
7 PKG_RELEASE:=1
8
9 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
10 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
11 PKG_SOURCE_URL:=http://www.busybox.net/downloads
12 PKG_MD5SUM:=0b5d78072302fe687407956537bdb9e3
13 PKG_CAT:=bzcat
14
15 include $(TOPDIR)/package/rules.mk
16
17 define Package/busybox
18 CONFIGFILE:=config/Config.in
19 SECTION:=base
20 CATEGORY:=Base system
21 DEFAULT:=y
22 TITLE:=Core utilities for embedded Linux
23 DESCRIPTION:=The Swiss Army Knife of embedded Linux. \\\
24 It slices, it dices, it makes Julian Fries.
25 URL:=http://busybox.net/
26 endef
27
28 define Build/Configure
29 $(SCRIPT_DIR)/gen_busybox_config.pl $(TOPDIR)/.config > $(PKG_BUILD_DIR)/.config
30 yes '' | $(MAKE) CC=$(TARGET_CC) CROSS="$(TARGET_CROSS)" -C $(PKG_BUILD_DIR) oldconfig
31 endef
32
33 define Build/Compile
34 $(MAKE) -C $(PKG_BUILD_DIR) \
35 CC=$(TARGET_CC) \
36 CROSS="$(TARGET_CROSS)" \
37 PREFIX="$(IDIR_BUSYBOX)" \
38 EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
39 ARCH="$(ARCH)"
40 endef
41
42 define Package/busybox/install
43 $(MAKE) CC=$(TARGET_CC) CROSS="$(TARGET_CROSS)" PREFIX="$(1)" \
44 EXTRA_CFLAGS="$(TARGET_CFLAGS)" -C $(PKG_BUILD_DIR) install
45 $(STRIP) $(1)/bin/busybox
46 endef
47
48 $(eval $(call BuildPackage,busybox))
This page took 0.038695 seconds and 5 git commands to generate.