[Gpg4win-commits] r576 - trunk/src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Oct 30 09:54:57 CET 2007


Author: marcus
Date: 2007-10-30 09:54:57 +0100 (Tue, 30 Oct 2007)
New Revision: 576

Added:
   trunk/src/inst-libetpan.nsi
   trunk/src/uninst-libetpan.nsi
Log:
2007-10-26  Marcus Brinkmann  <marcus at g10code.de>

        * packages/packages.current: Add libetpan.
        * configure.ac: Add libetpan package.
        * include/config.nsi.in: Add support for libetpan.
        * src/Makefile.am (EXTRA_DIST): Add inst-libetpan.nsi and
        uninst-libetpan.nsi.
        (gpg4win_spkgs): Add libetpan.
        (gpg4win_pkg_libetpan_configure): New variable.
        * src/uninst-libetpan.nsi, src/inst-libetpan.nsi: New files.
        * src/gpg4win.mk.in: Invoke configure with relative path to make
        it easier on some packages (in particular libetpan).
        (SETVRS): Add install bin directory to PATH.



Added: trunk/src/inst-libetpan.nsi
===================================================================
--- trunk/src/inst-libetpan.nsi	2007-10-29 21:41:09 UTC (rev 575)
+++ trunk/src/inst-libetpan.nsi	2007-10-30 08:54:57 UTC (rev 576)
@@ -0,0 +1,36 @@
+# inst-libetpan.nsi - Installer snippet for libetpan.        -*- coding: latin-1; -*-
+# Copyright (C) 2005, 2007 g10 Code GmbH
+# 
+# This file is part of GPG4Win.
+# 
+# GPG4Win is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# GPG4Win is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+
+!ifdef prefix
+!undef prefix
+!endif
+!define prefix ${ipdir}/libetpan-${gpg4win_pkg_libetpan_version}
+
+!ifdef DEBUG
+Section "libetpan" SEC_libetpan
+!else
+Section "-libetpan" SEC_libetpan
+!endif
+  SetOutPath "$INSTDIR"
+!ifdef SOURCES
+  File ${gpg4win_pkg_libetpan}
+!else
+  File ${prefix}/bin/libetpan-11.dll
+!endif
+SectionEnd

Added: trunk/src/uninst-libetpan.nsi
===================================================================
--- trunk/src/uninst-libetpan.nsi	2007-10-29 21:41:09 UTC (rev 575)
+++ trunk/src/uninst-libetpan.nsi	2007-10-30 08:54:57 UTC (rev 576)
@@ -0,0 +1,36 @@
+# uninst-libetpan.nsi - Installer snippet for libetpan.-*- coding: latin-1; -*-
+# Copyright (C) 2005, 2007 g10 Code GmbH
+# 
+# This file is part of GPG4Win.
+# 
+# GPG4Win is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# GPG4Win is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+
+!ifdef prefix
+!undef prefix
+!endif
+!define prefix ${ipdir}/libetpan-${gpg4win_pkg_libetpan_version}
+
+
+; Uninstaller section.
+Section "-un.libetpan"
+!ifdef SOURCES
+  Push "${gpg4win_pkg_libetpan}"
+  Call un.SourceDelete
+!else
+
+  Delete "$INSTDIR\libetpan-11.dll"
+  RMDir "$INSTDIR"
+!endif
+SectionEnd



More information about the Gpg4win-commits mailing list