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:
@ -11,10 +11,10 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_NAME:=psybnc
|
||||
PKG_VERSION:=2.3.2-7
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=4b893a92f914813450e0921b2894ad6c
|
||||
|
||||
PKG_SOURCE_URL:=http://www.psybnc.info/download/beta/
|
||||
PKG_SOURCE:=psyBNC-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.psybnc.info/download/beta/
|
||||
PKG_MD5SUM:=4b893a92f914813450e0921b2894ad6c
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||
@ -26,30 +26,32 @@ define Package/psybnc
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=
|
||||
TITLE:=An IRC-Bouncer with many features
|
||||
DESCRIPTION:=psyBNC is an easy-to-use, multi-user, permanent\\\
|
||||
IRC-Bouncer with many features. Some of its features\\\
|
||||
vhost- and relay support to connected bouncers and an\\\
|
||||
extensive online help system. Many other helpful\\\
|
||||
functions are included.\\\
|
||||
DESCRIPTION:=\
|
||||
psyBNC is an easy-to-use, multi-user, permanent \\\
|
||||
IRC-Bouncer with many features. Some of its features \\\
|
||||
vhost- and relay support to connected bouncers and an \\\
|
||||
extensive online help system. Many other helpful \\\
|
||||
functions are included.
|
||||
URL:=http://www.psybnc.info/
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call Build/Compile/Default, \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
HOSTCC="$(HOSTCC)" \
|
||||
all \
|
||||
)
|
||||
$(call Build/Compile/Default, \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
HOSTCC="$(HOSTCC)" \
|
||||
all \
|
||||
)
|
||||
endef
|
||||
|
||||
define Package/psybnc/install
|
||||
install -d -m0755 $(1)/usr/share/psybnc/lang/
|
||||
install -d -m0755 $(1)/usr/share/psybnc/log/
|
||||
install -d -m0755 $(1)/usr/sbin/
|
||||
install -d -m0755 $(1)/usr/sbin
|
||||
install -m0755 $(PKG_BUILD_DIR)/psybnc.sh $(1)/usr/sbin/psybnc
|
||||
install -d -m0755 $(1)/usr/share/psybnc
|
||||
install -m0755 $(PKG_BUILD_DIR)/psybnc $(1)/usr/share/psybnc/
|
||||
install -m0600 $(PKG_BUILD_DIR)/psybnc.conf $(1)/usr/share/psybnc/
|
||||
install -d -m0755 $(1)/usr/share/psybnc/lang
|
||||
install -m0644 $(PKG_BUILD_DIR)/lang/english.lng $(1)/usr/share/psybnc/lang/
|
||||
install -m0755 $(PKG_BUILD_DIR)/psybnc.sh $(1)/usr/sbin/psybnc
|
||||
ln -sf /tmp $(1)/usr/share/psybnc/log
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,psybnc))
|
||||
|
Reference in New Issue
Block a user