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

@ -11,14 +11,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ssmtp
PKG_VERSION:=2.61
PKG_RELEASE:=1
PKG_MD5SUM:=957e6fff08625fe34f4fc33d0925bbc9
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/s/ssmtp/
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/s/ssmtp/
PKG_MD5SUM:=957e6fff08625fe34f4fc33d0925bbc9
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,25 +25,28 @@ define Package/ssmtp
SECTION:=net
CATEGORY:=Network
TITLE:=A minimal and secure mail sender
DESCRIPTION:=A secure, effective and simple way of getting mail off a system to your\\\
mail hub. It contains no suid-binaries or other dangerous things - no\\\
DESCRIPTION:=\
A secure, effective and simple way of getting mail off a system to your \\\
mail hub. It contains no suid-binaries or other dangerous things - no \\\
mail spool to poke around in, and no daemons running in the background.\\\
mail is simply forwarded to the configured mailhost. Extremely easy\\\
mail is simply forwarded to the configured mailhost. Extremely easy \\\
configuration.
URL:=http://packages.debian.org/stable/mail/ssmtp
endef
# uses GNU configure
define Build/Compile
$(call Build/Compile/Default,all)
$(MAKE) -C $(PKG_BUILD_DIR) \
all
endef
define Package/ssmtp/install
install -m0755 -d $(1)/etc/ssmtp
install -d -m0755 $(1)/etc/ssmtp
install -m0644 $(PKG_BUILD_DIR)/ssmtp.conf $(1)/etc/ssmtp/
install -m0644 $(PKG_BUILD_DIR)/revaliases $(1)/etc/ssmtp/
install -m0755 -d $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/ssmtp $(1)/usr/sbin/
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/ssmtp $(1)/usr/sbin/
ln -sf ssmtp $(1)/usr/sbin/sendmail
endef