diff options
| author | lars | 2010-02-09 17:20:23 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2010-02-09 09:32:21 -0800 |
| commit | 4be931977b8ebcb98f7e359af9335a0a7c13a046 (patch) | |
| tree | 013c1754c9fd75bcf928129427a578341ce44b50 /Library/Formula | |
| parent | 66ab3bd7984155a119a58ef809e462a0e9254bb1 (diff) | |
| download | homebrew-4be931977b8ebcb98f7e359af9335a0a7c13a046.tar.bz2 | |
apg 2.2.3
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/apg.rb | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/Library/Formula/apg.rb b/Library/Formula/apg.rb new file mode 100644 index 000000000..19bae04b3 --- /dev/null +++ b/Library/Formula/apg.rb @@ -0,0 +1,58 @@ +require 'formula' + +class Apg <Formula + url 'http://www.adel.nursat.kz/apg/download/apg-2.2.3.tar.gz' + homepage 'http://www.adel.nursat.kz/apg/' + md5 '3b3fc4f11e90635519fe627c1137c9ac' + + def patches + DATA + end + + def install +# system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" + system "make standalone" + system "make install INSTALL_PREFIX=#{prefix}" + end +end + +__END__ +--- ./Makefile.old 2010-02-09 16:47:32.000000000 +0200 ++++ ./Makefile 2010-02-09 16:47:44.000000000 +0200 +@@ -13,8 +13,6 @@ + # + # You should comment the line below ('LIBS= -lcrypt')for QNX RTP + # 6.1.0, OpenBSD 2.8 and above, WIN32 (+MinGW) +-LIBS = -lcrypt +-LIBM = -lm + # Use lines below for cygwin + # LIBS = + # LIBM = +@@ -109,23 +107,25 @@ + strip ${CS_PROGNAME} + strip ${BFM_PROGNAME} + ++.PHONY: install ++ + install: + if test -x ./apg; then \ + ./mkinstalldirs ${INSTALL_PREFIX}${APG_BIN_DIR}; \ + ./mkinstalldirs ${INSTALL_PREFIX}${APG_MAN_DIR}; \ +-./install-sh -c -m 0755 -o root -g ${FIND_GROUP} ./apg ${INSTALL_PREFIX}${APG_BIN_DIR}; \ ++./install-sh -c -m 0755 ./apg ${INSTALL_PREFIX}${APG_BIN_DIR}; \ + ./install-sh -c -m 0444 ./doc/man/apg.1 ${INSTALL_PREFIX}${APG_MAN_DIR}; \ + fi + if test -x ./apgd; then \ + ./mkinstalldirs ${INSTALL_PREFIX}${APGD_BIN_DIR}; \ + ./mkinstalldirs ${INSTALL_PREFIX}${APGD_MAN_DIR}; \ +-./install-sh -c -m 0755 -o root -g ${FIND_GROUP} ./apgd ${INSTALL_PREFIX}${APGD_BIN_DIR}; \ ++./install-sh -c -m 0755 ./apgd ${INSTALL_PREFIX}${APGD_BIN_DIR}; \ + ./install-sh -c -m 0444 ./doc/man/apgd.8 ${INSTALL_PREFIX}${APGD_MAN_DIR}; \ + fi + if test -x ./apgbfm; then \ + ./mkinstalldirs ${INSTALL_PREFIX}${APG_BIN_DIR}; \ + ./mkinstalldirs ${INSTALL_PREFIX}${APG_MAN_DIR}; \ +-./install-sh -c -m 0755 -o root -g ${FIND_GROUP} ./apgbfm ${INSTALL_PREFIX}${APG_BIN_DIR}; \ ++./install-sh -c -m 0755 ./apgbfm ${INSTALL_PREFIX}${APG_BIN_DIR}; \ + ./install-sh -c -m 0444 ./doc/man/apgbfm.1 ${INSTALL_PREFIX}${APG_MAN_DIR}; \ + fi |
