massive Makefile cleanup, add missing 'svn:keywords' property

git-svn-id: svn://svn.openwrt.org/openwrt/packages@5348 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico
2006-10-30 13:51:50 +00:00
parent d6c03f5259
commit 5cb332fb35
139 changed files with 1341 additions and 1322 deletions

View File

@ -33,7 +33,6 @@ endef
define Build/Configure
$(call Build/Configure/Default, \
--disable-rpath \
--with-gnu-ld \
)
endef

View File

@ -1,3 +1,4 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
@ -10,43 +11,47 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=bc
PKG_VERSION:=1.06
PKG_RELEASE:=1
PKG_MD5SUM:=d44b5dddebd8a7a7309aea6c36fda117
PKG_SOURCE_URL:=@GNU/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/
PKG_MD5SUM:=d44b5dddebd8a7a7309aea6c36fda117
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk
define Package/bc
define Package/bc/Default
SECTION:=utils
CATEGORY:=Utilities
MENU:=1
TITLE:=Arbitrary precision calculator language
DESCRIPTION:=bc is a language that supports arbitrary precision numbers with interactive execution of statements.
URL:=http://www.gnu.org/software/bc/
endef
define Package/bc
$(call Package/bc/Default)
TITLE:=Arbitrary precision calculator language
DESCRIPTION:=\
bc is a language that supports arbitrary precision numbers with interactive \\\
execution of statements.
endef
define Package/dc
SECTION:=utils
CATEGORY:=Utilities
$(call Package/bc/Default)
DEPENDS:=bc
TITLE:=Arbitrary precision calculator
DESCRIPTION:=dc is a reverse-polish desk calculator which supports unlimited precision arithmetic.
URL:=http://www.gnu.org/software/bc/
TITLE:=Arbitrary precision reverse-polish calculator
DESCRIPTION:=\
dc is a reverse-polish desk calculator which supports unlimited precision \\\
arithmetic.
endef
define Package/bc/install
install -m0755 -d $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME)/$(PKG_NAME) $(1)/usr/bin/$(PKG_NAME)
install -d -m0755 $(1)/usr/bin
install -m0755 $(PKG_BUILD_DIR)/bc/bc $(1)/usr/bin/
endef
define Package/dc/install
install -m0755 -d $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME)/$(PKG_NAME) $(1)/usr/bin/$(PKG_NAME)
install -d -m0755 $(1)/usr/bin
install -m0755 $(PKG_BUILD_DIR)/dc/dc $(1)/usr/bin/
endef
$(eval $(call BuildPackage,bc))

View File

@ -20,8 +20,8 @@ define Package/cifsmount
SECTION:=utils
CATEGORY:=Utilities
TITLE:=CIFS mounting helper utility
DESCRIPTION:=Helper utility for mounting remote CIFS shares.\\\
An user space helper for mounting remote CIFS shares
DESCRIPTION:=\
An user space helper utility for mounting remote CIFS shares.
endef
define Build/Prepare

View File

@ -1,3 +1,4 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
@ -10,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=collectd
PKG_VERSION:=3.5.1
PKG_RELEASE:=1
PKG_MD5SUM:=46a4b81e46d3bb58faab1d603649d737
PKG_SOURCE_URL:=http://verplant.org/collectd/files
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://verplant.org/collectd/files
PKG_MD5SUM:=46a4b81e46d3bb58faab1d603649d737
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -25,13 +26,11 @@ define Package/collectd
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Lightweight system statistics collection daemon
DESCRIPTION:=Lightweight system statistics collection daemon
URL:=http://verplant.org/collectd/
endef
define Build/Compile
$(call Build/Configure/Default,--enable-shared \
--disable-static \
$(call Build/Configure/Default, \
--disable-debug \
--enable-cpu \
--enable-load \
@ -52,22 +51,18 @@ define Build/Compile
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
install
all install
endef
define Package/collectd/install
install -d -m0755 $(1)/etc/init.d
install -d -m0755 $(1)/usr/sbin
install -d -m0755 $(1)/usr/lib/collectd
install -d -m0755 $(1)/var/lib/collectd
install -d -m0755 $(1)/var/run
install -m0755 ./files/collectd.init $(1)/etc/init.d/collectd
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/collectd $(1)/usr/sbin/
install -d -m0755 $(1)/usr/lib/collectd
$(CP) $(PKG_INSTALL_DIR)/usr/lib/collectd/*.so $(1)/usr/lib/collectd/
install -d -m0755 $(1)/etc/init.d
install -m0755 ./files/collectd.init $(1)/etc/init.d/collectd
endef
$(eval $(call BuildPackage,collectd))

View File

@ -1,3 +1,4 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
@ -10,12 +11,12 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=deco
PKG_VERSION:=39
PKG_RELEASE:=1
PKG_MD5SUM:=f77f60e8be0cae1f814cba1ef61bf4d0
PKG_SOURCE_URL:=@SF/deco
PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION).tgz
PKG_SOURCE_URL:=@SF/deco
PKG_MD5SUM:=f77f60e8be0cae1f814cba1ef61bf4d0
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
@ -25,8 +26,9 @@ define Package/deco
CATEGORY:=Utilities
DEPENDS:=+libncurses
TITLE:=Text-based, full featured file manager
DESCRIPTION:=A clone of Norton Commander for Unix. Text-based, full featured\\\
file manager.\\\
DESCRIPTION:=\
A clone of Norton Commander for Unix. Text-based, full featured \\\
file manager.
URL:=http://deco.sourceforge.net/
endef
@ -35,11 +37,11 @@ define Build/Compile
endef
define Package/deco/install
install -m0755 -d $(1)/usr/bin
install -m0755 $(PKG_BUILD_DIR)/deco $(1)/usr/bin/deco
install -m0755 -d $(1)/usr/lib/deco
install -m0644 $(PKG_BUILD_DIR)/profile $(1)/usr/lib/deco/profile
install -d -m0755 $(1)/usr/bin
install -m0755 $(PKG_BUILD_DIR)/deco $(1)/usr/bin/
install -d -m0755 $(1)/usr/lib/deco
install -m0644 $(PKG_BUILD_DIR)/menu $(1)/usr/lib/deco/menu
install -m0644 $(PKG_BUILD_DIR)/profile $(1)/usr/lib/deco/profile
endef
$(eval $(call BuildPackage,deco))

View File

@ -12,12 +12,12 @@ PKG_NAME:=dosfstools
PKG_VERSION:=2.11
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_MD5SUM:=407d405ade410f7597d364ab5dc8c9f6
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).src.tar.gz
PKG_SOURCE_URL:=ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/
PKG_MD5SUM:=407d405ade410f7597d364ab5dc8c9f6
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk
@ -26,8 +26,8 @@ define Package/dosfstools
SECTION:=utils
CATEGORY:=Utilities
TITLE:=MS-DOS FAT filesystems utilities
DESCRIPTION:=MS-DOS FAT filesystems utilities.\\\
Utilities to create and check MS-DOS FAT filesystems.
DESCRIPTION:=\
Utilities to create and check MS-DOS FAT filesystems.
URL:=ftp://ftp.uni-erlangen.de:/pub/Linux/LOCAL/dosfstools/
endef
@ -35,21 +35,26 @@ define Build/Configure
endef
define Build/Compile
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
OPTFLAGS="$(TARGET_CFLAGS) -D_FILE_OFFSET_BITS=64" \
PREFIX="$(PKG_INSTALL_DIR)" \
all install
PREFIX="/usr" \
SBINDIR="/usr/sbin" \
all
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
OPTFLAGS="$(TARGET_CFLAGS) -D_FILE_OFFSET_BITS=64" \
PREFIX="$(PKG_INSTALL_DIR)/usr" \
SBINDIR="$(PKG_INSTALL_DIR)/usr/sbin" \
install
endef
define Package/dosfstools/install
install -d -m0755 $(1)/sbin
$(CP) $(PKG_INSTALL_DIR)/sbin/dosfsck $(1)/sbin/
$(CP) $(PKG_INSTALL_DIR)/sbin/fsck.{msdos,vfat} $(1)/sbin/
$(CP) $(PKG_INSTALL_DIR)/sbin/mkdosfs $(1)/sbin/
$(CP) $(PKG_INSTALL_DIR)/sbin/mkfs.{msdos,vfat} $(1)/sbin/
install -d -m0755 $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/dosfsck $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/fsck.{msdos,vfat} $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/mkdosfs $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/mkfs.{msdos,vfat} $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,dosfstools))

View File

@ -1,3 +1,4 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=fetchmail
PKG_VERSION:=6.2.5
PKG_RELEASE:=1
PKG_MD5SUM:=9956b30139edaa4f5f77c4d0dbd80225
PKG_SOURCE_URL:=http://www.catb.org/~esr/fetchmail/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.catb.org/~esr/fetchmail/
PKG_MD5SUM:=9956b30139edaa4f5f77c4d0dbd80225
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -26,7 +26,8 @@ define Package/fetchmail
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Remote mail retriever
DESCRIPTION:=Retrieves remote mail via POP/IMAP\\\
DESCRIPTION:=\
Retrieves remote mail via POP/IMAP.\\\
Very useful in conjunction with mutt.
URL:=http://www.catb.org/~esr/fetchmail/
endef
@ -34,22 +35,21 @@ endef
define Build/Configure
$(call Build/Configure/Default, \
--enable-fallback=procmail \
--without-hesiod, \
--without-hesiod \
, \
ac_cv_path_procmail=/usr/sbin/procmail \
)
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
endef
define Package/fetchmail/install
mkdir -p $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
install -d -m0755 $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/fetchmail $(1)/usr/bin/
endef
$(eval $(call BuildPackage,fetchmail))

View File

@ -1,3 +1,4 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
@ -10,12 +11,14 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=heyu
PKG_VERSION:=2.0beta.5
PKG_RELEASE:=1
PKG_MD5SUM:=8289d5ca5b972333a72bc0fc3e640c13
PKG_SOURCE_URL:=http://heyu.tanj.com/download/
PKG_SOURCE:=heyu-$(PKG_VERSION).tgz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=http://heyu.tanj.com/download/
PKG_MD5SUM:=8289d5ca5b972333a72bc0fc3e640c13
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/heyu
@ -23,7 +26,6 @@ define Package/heyu
CATEGORY:=Utilities
DEPENDS:=+setserial
TITLE:=X10 home automation control using a CM11A
DESCRIPTION:=10 home automation control using the CM11A serial device.
URL:=http://heyu.tanj.com/heyu2/
endef
@ -32,14 +34,16 @@ define Package/heyu/conffiles
endef
define Build/Compile
$(call Build/Compile/Default, CFLAGS="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR) -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT -DHASTZ")
$(call Build/Compile/Default, \
CFLAGS="$(TARGET_CFLAGS) \$$$$(DFLAGS)" \
)
endef
define Package/heyu/install
install -d -m0755 $(1)/usr/bin
install -m0755 $(PKG_BUILD_DIR)/heyu $(1)/usr/bin/
install -d -m0755 $(1)/etc/$(PKG_NAME)
install -m0644 ./files/x10.conf $(1)/etc/$(PKG_NAME)/x10.conf
install -d -m0755 $(1)/usr/bin
install -m0644 $(PKG_BUILD_DIR)/heyu $(1)/usr/bin/
endef
$(eval $(call BuildPackage,heyu))

View File

@ -4,20 +4,21 @@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: Makefile 4091 2006-06-27 00:35:46Z mbm $
#
# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=lilo
PKG_VERSION:=22.7.3
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).src.tar.gz
PKG_SOURCE_URL:=ftp://metalab.unc.edu/pub/Linux/system/boot/lilo/
PKG_MD5SUM:=
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
include $(INCLUDE_DIR)/package.mk
define Package/lilo

View File

@ -1,3 +1,4 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
@ -10,15 +11,16 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=logrotate
PKG_VERSION:=3.7.1
PKG_RELEASE:=1
PKG_MD5SUM:=552639142e163745f6bcd4f1f3816d8a
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
PKG_SOURCE_URL:= \
http://ftp.de.debian.org/debian/pool/main/l/logrotate \
http://ftp.debian.org/debian/pool/main/l/logrotate \
http://ftp.fr.debian.org/debian/pool/main/l/logrotate \
http://ftp.us.debian.org/debian/pool/main/l/logrotate
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
PKG_MD5SUM:=552639142e163745f6bcd4f1f3816d8a
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
@ -29,10 +31,11 @@ define Package/logrotate
CATEGORY:=Utilities
DEPENDS:=+libpopt
TITLE:=rotates, compresses, and mails system logs
DESCRIPTION:=logrotate is designed to ease administration of systems that generate\\\
large numbers of log files. It allows auto-matic rotation, compression,\\\
removal, and mailing of log files. Each log file may be handled\\\
daily, weekly,monthly, or when it grows too large.\\\
DESCRIPTION:=\
logrotate is designed to ease administration of systems that generate \\\
large numbers of log files. It allows auto-matic rotation, compression, \\\
removal and mailing of log files. Each log file may be handled daily, \\\
weekly, monthly or when it grows too large.
URL:=http://packages.debian.org/unstable/admin/logrotate
endef
@ -41,18 +44,19 @@ define Package/logrotate/conffiles
endef
define Build/Compile
$(call Build/Compile/Default, \
CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
logrotate \
)
$(call Build/Compile/Default, \
RPM_OPT_FLAGS="\$$$$(EXTRA_CFLAGS)" \
LDFLAGS="\$$$$(EXTRA_LDFLAGS)" \
logrotate \
)
endef
define Package/logrotate/install
mkdir -p $(1)/usr/sbin
$(CP) ${PKG_BUILD_DIR}/logrotate $(1)/usr/sbin
mkdir -p $(1)/etc/logrotate.d
$(CP) ./files/logrotate.conf $(1)/etc
install -d -m0755 $(1)/usr/sbin
$(CP) ${PKG_BUILD_DIR}/logrotate $(1)/usr/sbin/
install -d -m0755 $(1)/etc
$(CP) ./files/logrotate.conf $(1)/etc/
install -d -m0755 $(1)/etc/logrotate.d
endef
$(eval $(call BuildPackage,logrotate))

View File

@ -1,3 +1,4 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
@ -10,11 +11,12 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=lrzsz
PKG_VERSION:=0.12.20
PKG_RELEASE:=1
PKG_MD5SUM:=b5ce6a74abc9b9eb2af94dffdfd372a4
PKG_SOURCE_URL:=http://www.ohse.de/uwe/releases/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.ohse.de/uwe/releases/
PKG_MD5SUM:=b5ce6a74abc9b9eb2af94dffdfd372a4
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
@ -24,23 +26,18 @@ define Package/lrzsz
SECTION:=utils
CATEGORY:=Utilities
TITLE:=X,Y and Z-modem protocols
DESCRIPTION:=Transfer files in your login sessions.\\\
Very leightweight and straight forward.\\\
You just need a terminal client that can do\\\
either X, Y or Z-modem file transfers.\\\
DESCRIPTION:=\
Transfer files in your login sessions.\\\
Very leightweight and straight forward.\\\
You just need a terminal client that can do \\\
either X, Y or Z-modem file transfers.
URL:=http://www.ohse.de/uwe/software/lrzsz.html
endef
define Build/Configure
$(call Build/Configure/Default,--without-libiconv-prefix \
--without-libintl-prefix)
endef
# uses GNU configure
define Build/Compile
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef

View File

@ -1,3 +1,4 @@
#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
@ -10,12 +11,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=macchanger
PKG_VERSION:=1.5.0
PKG_RELEASE:=1
PKG_MD5SUM:=79b7cdaeca3d8ebafa764c4b0dd03ab7
PKG_SOURCE_URL:=@GNU/macchanger
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=@GNU/macchanger
PKG_MD5SUM:=79b7cdaeca3d8ebafa764c4b0dd03ab7
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk
@ -24,18 +26,23 @@ define Package/macchanger
SECTION:=utils
CATEGORY:=Utilities
TITLE:=utility for viewing/manipulating the MAC address
DESCRIPTION:=This is a GNU/Linux utility for viewing/manipulating the MAC address\\\
of network interfaces.
DESCRIPTION:=\
This is a GNU/Linux utility for viewing/manipulating the MAC address \\\
of network interfaces.
URL:=http://www.alobbs.com/macchanger
endef
define Build/Compile
$(MAKE) DESTDIR=$(PKG_INSTALL_DIR) -C $(PKG_BUILD_DIR) install
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
define Package/macchanger/install
mkdir -p $(1)
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
install -d -m0755 $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/macchanger $(1)/usr/bin/
install -d -m0755 $(1)/usr/share
$(CP) $(PKG_INSTALL_DIR)/usr/share/macchanger $(1)/usr/share/
endef
$(eval $(call BuildPackage,macchanger))

View File

@ -4,17 +4,17 @@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: Makefile 4644 2006-08-23 22:05:05Z nbd $
# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=minicom
PKG_VERSION:=2.2-rc2
PKG_RELEASE:=1
PKG_MD5SUM:=c64c9ef958e91c00ca1cf2a7bc0db1f3
PKG_SOURCE_URL:=http://alioth.debian.org/download.php/1721/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://alioth.debian.org/download.php/1721/
PKG_MD5SUM:=c64c9ef958e91c00ca1cf2a7bc0db1f3
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -25,18 +25,14 @@ define Package/minicom
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+libncurses
TITLE:=Terminal emulation
DESCRIPTION:=Terminal emulation program for the serial port
TITLE:=Terminal emulation program
URL:=http://alioth.debian.org/projects/minicom/
endef
define Build/Configure
$(call Build/Configure/Default)
endef
# uses GNU configure
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
CC="$(TARGET_CC)"
$(MAKE) -C $(PKG_BUILD_DIR)
endef
define Package/minicom/install

View File

@ -25,8 +25,7 @@ define Package/mutt
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+libopenssl +libncurses
TITLE:=console mail client
DESCRIPTION:=Mail client for the text console
TITLE:=Console mail client
URL:=http://www.mutt.org
endef
@ -40,9 +39,13 @@ define Build/Configure
)
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)
endef
define Package/mutt/install
mkdir -p $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/
install -d -m0755 $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/mutt $(1)/usr/bin/
endef
$(eval $(call BuildPackage,mutt))

View File

@ -11,12 +11,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=nano
PKG_VERSION:=1.3.8
PKG_RELEASE:=1
PKG_MD5SUM:=20633397bf5d462255f37dfcc7cad4e7
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.ewtoo.org/~astyanax/nano/dist/v1.3 \
http://www.nano-editor.org/dist/v1.3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_MD5SUM:=20633397bf5d462255f37dfcc7cad4e7
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
@ -27,24 +28,24 @@ define Package/nano
CATEGORY:=Utilities
DEPENDS:=+libncurses
TITLE:=An enhanced clone of the Pico text editor
DESCRIPTION:=GNU nano (Nano's ANOther editor, or Not ANOther editor) is an enhanced clone of the Pico text editor..
DESCRIPTION:=\
GNU nano (Nano's ANOther editor, or Not ANOther editor) is an enhanced clone \\\
of the Pico text editor..
URL:=http://www.nano-editor.org/
endef
define Build/Configure
$(call Build/Configure/Default,--enable-shared \
--disable-static \
--with-gnu-ld \
--disable-rpath \
--enable-tiny \
--disable-glibtest \
--disable-utf8 \
--without-slang,ac_cv_header_regex_h=no)
$(call Build/Configure/Default, \
--enable-tiny \
--disable-glibtest \
--disable-utf8 \
--without-slang \
, \
ac_cv_header_regex_h=no \
)
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

View File

@ -12,13 +12,13 @@ PKG_NAME:=pciutils
PKG_VERSION:=2.2.1
PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.kernel.org/pub/software/utils/pciutils/ \
ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci
PKG_MD5SUM:=c18e2a5f04e9abae5a42439de294f086
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk
@ -27,9 +27,9 @@ define Package/pciutils
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Linux PCI Utilities
DESCRIPTION:=Linux PCI Utilities.\\\
This package contains various utilities for inspecting and setting of \\\
devices connected to the PCI bus.
DESCRIPTION:=\
This package contains various utilities for inspecting and setting of \\\
devices connected to the PCI bus.
URL:=http://www.kernel.org/pub/software/utils/pciutils/
endef
@ -37,7 +37,11 @@ define Build/Configure
endef
define Build/Compile
$(call Build/Compile/Default, 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

View File

@ -19,8 +19,6 @@ define Package/pipacs
SECTION:=utils
CATEGORY:=Utilities
TITLE:=UNIX socket accounting/wiewer program
DESCRIPTION:=An UNIX socket accounting/wiewer program.\\\
This is version 2.
endef
define Build/Prepare
@ -30,14 +28,14 @@ endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -I $(STAGING_DIR)/usr/include" \
all
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -I $(STAGING_DIR)/usr/include" \
all
endef
define Package/pipacs/install
mkdir -p $(1)/usr/bin
install -m0755 $(PKG_BUILD_DIR)/pipacs $(1)/usr/bin
install -d -m0755 $(1)/usr/bin
install -m0755 $(PKG_BUILD_DIR)/pipacs $(1)/usr/bin/
endef
$(eval $(call BuildPackage,pipacs))

View File

@ -24,10 +24,11 @@ include $(INCLUDE_DIR)/package.mk
define Package/procmail
SECTION:=utils
CATEGORY:=Utilities
TITLE:=mail processing tool
DESCRIPTION:=Procmail is able to process and classify incoming mail into\\\
TITLE:=Mail processing tool
DESCRIPTION:=\
Procmail is able to process and classify incoming mail into \\\
different mail boxes.\\\
Very useful in conjunction with mutt.\\\
Very useful in conjunction with mutt.
URL:=http://www.procmail.org
endef
@ -37,7 +38,7 @@ define Build/Compile
endef
define Package/procmail/install
mkdir -p $(1)/usr/bin
install -d -m0755 $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/src/procmail $(1)/usr/bin/
$(CP) $(PKG_BUILD_DIR)/src/formail $(1)/usr/bin/
endef

View File

@ -11,46 +11,46 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=rrdcollect
PKG_VERSION:=0.2.3
PKG_RELEASE:=1
PKG_MD5SUM:=5e4305c612bc3cccbaf802c275c81a11
PKG_SOURCE_URL:=@SF/rrdcollect
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/rrdcollect
PKG_MD5SUM:=5e4305c612bc3cccbaf802c275c81a11
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
ifneq ($(BR2_PACKAGE_LIBRRD),)
RRDTOOL_LIBS:=-lart_lgpl_2 -lfreetype -lpng
endif
include $(INCLUDE_DIR)/package.mk
define Package/rrdcollect
SECTION:=utils
CATEGORY:=Utilities
DESCRIPTION:=\
RRDcollect is a daemon which polls ceratin files in /proc/ \\\
directory, gathering data and storing it inside RRDtool's \\\
database files. Being written in C should be both fast \\\
and resources-friendly. Supports both scanf(3)-style \\\
pattern matches and perl compatible regular expressions.
URL:=http://rrdcollect.sourceforge.net/
endef
define Package/rrdcollect
$(call Package/rrdcollect/Default)
DEPENDS:=+librrd1
TITLE:=Round-Robin Database (RRD) collecting daemon
DESCRIPTION:=RRDcollect is a daemon which polls ceratin files in /proc/\\\
directory, gathering data and storing it inside RRDtool's\\\
database files. Being written in C should be both fast\\\
and resources-friendly. Supports both scanf(3)-style\\\
pattern matches and perl compatible regular expressions.\\\
URL:=http://rrdcollect.sourceforge.net/
DESCRIPTION+=\\\
\\\
This package contains the RRD collecting daemon.
MENU:=1
endef
define Package/rrdcollect-example
SECTION:=utils
CATEGORY:=Utilities
$(call Package/rrdcollect/Default)
DEPENDS:=rrdcollect
TITLE:=Example setup for RRD collecting daemon above
DESCRIPTION:=RRDcollect is a daemon which polls ceratin files in /proc/\\\
directory, gathering data and storing it inside RRDtool's\\\
database files. Being written in C should be both fast\\\
and resources-friendly. Supports both scanf(3)-style\\\
pattern matches and perl compatible regular expressions.\\\
URL:=http://rrdcollect.sourceforge.net/
DESCRIPTION+=\\\
\\\
This package contains examples for the RRD collecting daemon.
endef
define Package/rrdcollect-example/conffiles
@ -68,18 +68,14 @@ define Build/Configure
--without-rrdtool \
--with-librrd \
--without-libpcre \
--without-libpcap, \
--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" \
LIBS="-lz" \
)
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

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=sane-backends
PKG_VERSION:=1.0.17
PKG_RELEASE:=1
PKG_MD5SUM:=b51c10da8a81a04e1bae88c9e6556df2
PKG_SOURCE_URL:=ftp://ftp.sane-project.org/pub/sane/$(PKG_NAME)-$(PKG_VERSION)/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=ftp://ftp.sane-project.org/pub/sane/$(PKG_NAME)-$(PKG_VERSION)/
PKG_MD5SUM:=b51c10da8a81a04e1bae88c9e6556df2
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -26,7 +26,8 @@ define Package/sane-backends
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Scanner Access Now Easy (backends)
DESCRIPTION:=SANE (Scanner Access Now Easy) is a universal scanner interface.
DESCRIPTION:=\
SANE (Scanner Access Now Easy) is a universal scanner interface.
URL:=http://www.sane-project.org
endef
@ -35,20 +36,18 @@ define Package/sane-backends/conffiles
endef
define Build/Configure
$(call Build/Configure/Default,--enable-shared \
--disable-static \
--disable-ipv6 \
--disable-translations \
--without-gphoto2 \
--disable-debug)
$(call Build/Configure/Default, \
--disable-ipv6 \
--disable-translations \
--without-gphoto2 \
--disable-debug \
)
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
install
all install
endef
define Package/sane-backends/install

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=setpwc
PKG_VERSION:=1.0
PKG_RELEASE:=1
PKG_MD5SUM:=a125d76f630c4aab940df5912f161965
PKG_SOURCE_URL:=http://www.vanheusden.com/setpwc/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=http://www.vanheusden.com/setpwc/
PKG_MD5SUM:=a125d76f630c4aab940df5912f161965
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -26,7 +26,6 @@ define Package/setpwc
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Philips (and compatibles) WebCams (PWC) control utility
DESCRIPTION:=Philips (and compatibles) WebCams (PWC) control utility.
URL:=http://www.vanheusden.com/setpwc/
endef

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=strace
PKG_VERSION:=4.5.11
PKG_RELEASE:=1
PKG_MD5SUM:=28335e15c83456a3db055a0a0efcb4fe
PKG_SOURCE_URL:=@SF/strace
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/strace
PKG_MD5SUM:=28335e15c83456a3db055a0a0efcb4fe
PKG_CAT:=bzcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -25,15 +25,14 @@ define Package/strace
SECTION:=utils
CATEGORY:=Utilities
TITLE:=System call tracer
DESCRIPTION:=A useful diagnostic, instructional, and debugging tool. \\\
Allows you to track what system calls a program makes while it is \\\
running.
DESCRIPTION:=\
A useful diagnostic, instructional, and debugging tool. \\\
Allows you to track what system calls a program makes while it is \\\
running.
URL:=http://strace.sourceforge.net/
endef
define Build/Configure
$(call Build/Configure/Default)
endef
# uses GNU configure
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
@ -41,7 +40,7 @@ define Build/Compile
endef
define Package/strace/install
install -m0755 -d $(1)/usr/sbin
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/strace $(1)/usr/sbin/
endef

View File

@ -30,12 +30,7 @@ define Package/usbutils
URL:=http://linux-usb.sourceforge.net/
endef
define Build/Configure
$(call Build/Configure/Default, \
--enable-shared \
--enable-static \
)
endef
# uses GNU configure
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \

View File

@ -14,7 +14,7 @@ PKG_RELEASE:=1
PKG_SOURCE_URL:=ftp://ftp.vim.org/pub/vim/unix/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz
PKG_MD5SUM:=
PKG_MD5SUM:=89ab05bb5cd39eeb9e259503436c11ed
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -26,27 +26,26 @@ define Package/vim
CATEGORY:=Utilities
DEPENDS:=+libncurses
TITLE:=VI Improved
DESCRIPTION:=An improved version of VI.
URL:=http://www.vim.org
URL:=http://www.vim.org/
endef
define Build/Configure
$(call Build/Configure/Default, \
--enable-min-features \
--disable-gui \
--without-x \
--disable-multibyte \
--disable-cscope \
--disable-gpm \
--with-tlib=ncurses \
--enable-min-features \
--disable-gui \
--without-x \
--disable-multibyte \
--disable-cscope \
--disable-gpm \
--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
install -d -m0755 $(1)/usr/bin
$(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/
install -d -m0755 $(1)/usr/share/vim
$(CP) ./files/vimrc $(1)/usr/share/vim/
endef
$(eval $(call BuildPackage,vim))

View File

@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=wx200d
PKG_VERSION:=1.3
PKG_RELEASE:=1
PKG_MD5SUM:=0f90c099dddcdd46ac568d707822ec4c
PKG_SOURCE_URL:=@SF/wx200d
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/wx200d
PKG_MD5SUM:=0f90c099dddcdd46ac568d707822ec4c
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@ -27,31 +27,32 @@ define Package/wx200d
CATEGORY:=Utilities
DEPENDS:=+libpq
TITLE:=weather station data collector
DESCRIPTION:=wx200d is a weather station data collector and server daemon\\\
for the WX200, WM918, WMR918 and WMR968 weather station\\\
hardware.\\\
DESCRIPTION:=\
wx200d is a weather station data collector and server daemon \\\
for the WX200, WM918, WMR918 and WMR968 weather station \\\
hardware.
URL:=http://wx200d.sourceforge.net/
endef
define Build/Configure
$(call Build/Configure/Default,--without-libiconv-prefix \
--without-libintl-prefix)
endef
# uses GNU configure
define Build/Compile
$(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" \
all install)
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef
define Package/wx200d/install
install -d -m0755 $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/wx200 \
$(CP) $(PKG_INSTALL_DIR)/usr/bin/wx200 \
$(PKG_INSTALL_DIR)/usr/bin/wxstdout \
$(PKG_INSTALL_DIR)/usr/bin/wxfilter \
$(PKG_INSTALL_DIR)/usr/bin/wxdebug $(1)/usr/bin/
$(PKG_INSTALL_DIR)/usr/bin/wxdebug \
$(1)/usr/bin/
install -d -m0755 $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/wx200d \
$(PKG_INSTALL_DIR)/usr/sbin/wxread $(1)/usr/sbin/
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/wx200d \
$(PKG_INSTALL_DIR)/usr/sbin/wxread \
$(1)/usr/sbin/
endef
$(eval $(call BuildPackage,wx200d))