]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - pkgs/expect/expect.nm
Change file layout of the makefiles.
[ipfire-3.x.git] / pkgs / expect / expect.nm
index f00c5cc5109a54e85be86805ec932a1a8b0c0ae9..eea26324ae8d3e3c1558bbfca8d646435f99e8ad 100644 (file)
@@ -1,66 +1,56 @@
 ###############################################################################
-#                                                                             #
-# IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt                 #
-#                                                                             #
-# This program 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 3 of the License, or           #
-# (at your option) any later version.                                         #
-#                                                                             #
-# This program 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, see <http://www.gnu.org/licenses/>.       #
-#                                                                             #
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
 ###############################################################################
 
-###############################################################################
-# Definitions
-###############################################################################
-
-include $(PKGROOT)/Include
-
-PKG_NAME       = expect
-PKG_VER        = 5.43
-PKG_REL        = 0
-
-PKG_MAINTAINER =
-PKG_GROUPS     = Development/Languages
-PKG_URL        = http://expect.nist.gov/
-PKG_LICENSE    = Public Domain
-PKG_SUMMARY    = A program-script interaction and testing utility.
+name       = expect
+version    = 5.43
+release    = 1
 
-PKG_BUILD_DEPS+= autoconf automake tcl
+groups     = Development/Languages
+url        = http://expect.nist.gov/
+license    = Public Domain
+summary    = A program-script interaction and testing utility.
 
-define PKG_DESCRIPTION
+description
        xpect is a tcl application for automating and testing \
        interactive applications such as telnet, ftp, passwd, fsck, \
        rlogin, tip, etc. Expect makes it easy for a script to \
        control another program and interact with it.
-endef
-
-PKG_TARBALL    = $(THISAPP).0.tar.gz
-
-CONFIGURE_OPTIONS = \
-       --mandir=/usr/share/man \
-       --with-tcl=/usr/lib \
-       --with-tclinclude=/usr/include/ \
-       --with-x=no \
-       --enable-shared
-
-define STAGE_TEST
-       cd $(DIR_APP) && make test
-endef
-
-define STAGE_INSTALL
-       cd $(DIR_APP) && make install INSTALL_ROOT=$(BUILDROOT)
-       
-       # remove cryptdir/decryptdir, as Linux has no crypt command
-       rm -f $(BUILDROOT)/usr/bin/{cryptdir,decryptdir} 
-       rm -f $(BUILDROOT)/usr/share/man1/{cryptdir,decryptdir}.1*
-       rm -f $(BUILDROOT)/usr/bin/autopasswd
-endef
+end
+
+source_dl  =
+sources    = %{thisapp}.0.tar.gz
+
+build
+       requires
+               autoconf
+               automake
+               tcl
+       end
+
+       configure_options = \
+               --mandir=/usr/share/man \
+               --with-tcl=/usr/lib \
+               --with-tclinclude=/usr/include/ \
+               --with-x=no \
+               --enable-shared
+
+       test
+               make test
+       end
+
+       install
+               make install INSTALL_ROOT=%{BUILDROOT}
+
+               # remove cryptdir/decryptdir, as Linux has no crypt command
+               rm -f %{BUILDROOT}/usr/bin/{cryptdir,decryptdir}
+               rm -f %{BUILDROOT}/usr/share/man1/{cryptdir,decryptdir}.1*
+               rm -f %{BUILDROOT}/usr/bin/autopasswd
+       end
+end
+
+packages
+       package %{name}
+       end
+end