summaryrefslogtreecommitdiff
path: root/package/weechat
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-07 20:03:20 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-07 20:03:20 +0100
commit6daa792eab1488d013fefc5eb7e4d01f40f38687 (patch)
tree6391cc46bb9fc8b859d99175ea317e5fa7b37959 /package/weechat
parentadcaca72539b2ff4a5f4deee00d5f0251378ac9b (diff)
change defaults for CONFIG/BUILD/INSTALL styles
All packages need an update, so here is a very huge commit. Most of the 460 source packages use automatic style for configuration, building and installing. Make these styles default to "auto". If you have a package, which does not conform to this, just use manual style and add a do-$task make target. I added a new style named AUTOTOOL style, which is needed for some broken packages, which needs to be updated via autoconf or automake. I renamed CONFIGURE_STYLE to CONFIG_STYLE. Updates for some packages, which have newer upstream versions. Renaming of all package/*/extra directories. Use the directory src/ to provide overwrites of source files or to add the code, when no upstream package is available or used. src directory will be automatically used.
Diffstat (limited to 'package/weechat')
-rw-r--r--package/weechat/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/package/weechat/Makefile b/package/weechat/Makefile
index 804657cf8..6fd545c95 100644
--- a/package/weechat/Makefile
+++ b/package/weechat/Makefile
@@ -6,23 +6,25 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= weechat
PKG_VERSION:= 0.1.8
PKG_RELEASE:= 2
-PKG_BUILDDEP+= ncurses gnutls lua libiconv
PKG_MD5SUM:= 73d6bc211ac32c597f0d278506480a20
PKG_DESCR:= Lightweight IRC client
PKG_SECTION:= net
PKG_DEPENDS:= libncurses libiconv
-PKG_URL:= http://weechat.flashtux.org/download/
-PKG_SITES:= http://weechat.flashtux.org/download/
-
-include ${TOPDIR}/mk/package.mk
-
+PKG_BUILDDEP+= ncurses libiconv
ifeq (${ADK_COMPILE_WEECHAT_WITH_TLS},y)
PKG_DEPENDS+= gnutls
+PKG_BUILDDEP+= gnutls
endif
ifeq (${ADK_COMPILE_WEECHAT_WITH_LUA},y)
PKG_DEPENDS+= liblua
+PKG_BUILDDEP+= lua
endif
+PKG_URL:= http://weechat.flashtux.org/download/
+PKG_SITES:= http://weechat.flashtux.org/download/
+
+include ${TOPDIR}/mk/package.mk
+
$(eval $(call PKG_template,WEECHAT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
@@ -36,7 +38,6 @@ ifneq (${ADK_COMPILE_WEECHAT_WITH_LUA},y)
DISABLE_LUA:= --disable-lua
endif
-CONFIGURE_STYLE:= gnu
CONFIGURE_ARGS+= ${ENABLE_TLS} \
--with-debug=0 \
--disable-perl \
@@ -44,11 +45,10 @@ CONFIGURE_ARGS+= ${ENABLE_TLS} \
--disable-ruby \
--with-libiconv-prefix='${STAGING_DIR}/usr' \
${DISABLE_LUA}
-BUILD_STYLE:= auto
-INSTALL_STYLE:= auto
post-install:
${INSTALL_DIR} ${IDIR_WEECHAT}/usr/bin
- ${INSTALL_BIN} ${WRKINST}/usr/bin/weechat-curses ${IDIR_WEECHAT}/usr/bin/
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/weechat-curses \
+ ${IDIR_WEECHAT}/usr/bin/
include ${TOPDIR}/mk/pkg-bottom.mk