Fix endianness, install configuration file #3441
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13161 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
9b9f08047d
commit
f87aca0ad1
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=psybnc
|
PKG_NAME:=psybnc
|
||||||
PKG_VERSION:=2.3.2-7
|
PKG_VERSION:=2.3.2-7
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=psyBNC-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=psyBNC-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://www.psybnc.info/download/beta/
|
PKG_SOURCE_URL:=http://www.psybnc.info/download/beta/
|
||||||
@ -24,7 +24,6 @@ define Package/psybnc
|
|||||||
SUBMENU:=Instant Messaging
|
SUBMENU:=Instant Messaging
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
DEPENDS:=
|
|
||||||
TITLE:=An IRC-Bouncer with many features
|
TITLE:=An IRC-Bouncer with many features
|
||||||
URL:=http://www.psybnc.info/
|
URL:=http://www.psybnc.info/
|
||||||
endef
|
endef
|
||||||
@ -37,6 +36,12 @@ define Package/psybnc/description
|
|||||||
functions are included.
|
functions are included.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
ifneq ($(SDK)$(CONFIG_BIG_ENDIAN),)
|
||||||
|
ENDIANESS:=1
|
||||||
|
else
|
||||||
|
ENDIANESS:=0
|
||||||
|
endif
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call Build/Compile/Default, \
|
$(call Build/Compile/Default, \
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
@ -45,6 +50,10 @@ define Build/Compile
|
|||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/psybnc/conffiles
|
||||||
|
/etc/psybnc.conf
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/psybnc/install
|
define Package/psybnc/install
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/psybnc.sh $(1)/usr/sbin/psybnc
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/psybnc.sh $(1)/usr/sbin/psybnc
|
||||||
@ -53,6 +62,8 @@ define Package/psybnc/install
|
|||||||
$(INSTALL_CONF) $(PKG_BUILD_DIR)/psybnc.conf $(1)/usr/share/psybnc/
|
$(INSTALL_CONF) $(PKG_BUILD_DIR)/psybnc.conf $(1)/usr/share/psybnc/
|
||||||
$(INSTALL_DIR) $(1)/usr/share/psybnc/lang
|
$(INSTALL_DIR) $(1)/usr/share/psybnc/lang
|
||||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/lang/english.lng $(1)/usr/share/psybnc/lang/
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/lang/english.lng $(1)/usr/share/psybnc/lang/
|
||||||
|
$(INSTALL_DIR) $(1)/etc/
|
||||||
|
$(INSTALL_CONF) $(PKG_BUILD_DIR)/psybnc.conf $(1)/etc
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,psybnc))
|
$(eval $(call BuildPackage,psybnc))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user