forked from Freetz/freetz
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add new package gntp-send - a command line tool for sending notifi…
…cations to [http://growl.info/ Growl] * by zickedi git-svn-id: file:///var/svn/freetz/trunk@10289 149334a1-2f27-0410-a3b9-fc62619ac1e6
- Loading branch information
er13
committed
Mar 23, 2013
1 parent
eada10a
commit dc66864
Showing
8 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,10 @@ | |||
config FREETZ_PACKAGE_GNTPSEND | |||
bool "gntpsend 0.3.2-git (binary only)" | |||
default n | |||
help | |||
Growl is a notification system for the Mac OS X. Applications can use Growl | |||
to display small notifications about events which the user deems important, | |||
in a consistent manner. | |||
|
|||
This package provides a tool 'gntp-send' which allows to send notifications | |||
to Growl. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
[ "$EXTERNAL_FREETZ_PACKAGE_GNTPSEND" == "y" ] && EXTERNAL_FILES+=" /usr/bin/gntp-send" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,7 @@ | |||
config EXTERNAL_FREETZ_PACKAGE_GNTPSEND | |||
depends on EXTERNAL_ENABLED && FREETZ_PACKAGE_GNTPSEND | |||
bool "gntp-send" | |||
default n | |||
help | |||
externals the following file(s): | |||
/usr/bin/gntp-send |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,35 @@ | |||
$(call PKG_INIT_BIN, 8241d46903) | |||
$(PKG)_SOURCE := $(pkg)-$($(PKG)_VERSION).tar.xz | |||
$(PKG)_SITE := git@https://github.com/mattn/gntp-send.git | |||
|
|||
$(PKG)_BINARY := $($(PKG)_DIR)/gntp-send | |||
$(PKG)_TARGET_BINARY := $($(PKG)_DEST_DIR)/usr/bin/gntp-send | |||
|
|||
$(PKG)_BUILD_PREREQ += libtoolize aclocal automake autoconf | |||
|
|||
$(PKG)_CONFIGURE_PRE_CMDS += ./autogen.sh; | |||
|
|||
$(PKG)_CONFIGURE_OPTIONS += --disable-shared | |||
$(PKG)_CONFIGURE_OPTIONS += --enable-static | |||
|
|||
$(PKG_SOURCE_DOWNLOAD) | |||
$(PKG_UNPACKED) | |||
$(PKG_CONFIGURED_CONFIGURE) | |||
|
|||
$($(PKG)_BINARY): $($(PKG)_DIR)/.configured | |||
$(SUBMAKE) -C $(GNTPSEND_DIR) | |||
|
|||
$($(PKG)_TARGET_BINARY): $($(PKG)_BINARY) | |||
$(INSTALL_BINARY_STRIP) | |||
|
|||
$(pkg): | |||
|
|||
$(pkg)-precompiled: $($(PKG)_TARGET_BINARY) | |||
|
|||
$(pkg)-clean: | |||
-$(MAKE) -C $(GNTPSEND_DIR) clean | |||
|
|||
$(pkg)-uninstall: | |||
$(RM) $(GNTPSEND_TARGET_BINARY) | |||
|
|||
$(PKG_FINISH) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,9 @@ | |||
--- configure.in | |||
+++ configure.in | |||
@@ -1,5 +1,5 @@ | |||
AC_PREREQ([2.65]) | |||
-AC_INIT([gntp-send], [esyscmd([cat VERSION | tr -d '\n'])], [mattn.jp@gmail.com]) | |||
+AC_INIT([gntp-send], esyscmd([cat VERSION | tr -d '\n']), [mattn.jp@gmail.com]) | |||
|
|||
AM_INIT_AUTOMAKE([foreign -Wall]) | |||
|