]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blobdiff - pkgs/slang/slang.nm
Change file layout of the makefiles.
[people/arne_f/ipfire-3.x.git] / pkgs / slang / slang.nm
index d37b669f38a5f82512514f933962352487b8517b..819431e3f559c9d0d1921b49ad92b80326ee55ea 100644 (file)
@@ -1,56 +1,49 @@
 ###############################################################################
-#                                                                             #
-# 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       = slang
-PKG_VER        = 2.1.4
-PKG_REL        = 0
-
-PKG_MAINTAINER =
-PKG_GROUPS     = System/Libraries
-PKG_URL        = http://www.jedsoft.org/slang/
-PKG_LICENSE    = GPLv2+
-PKG_SUMMARY    = Shared library for the S-Lang extension language.
+name       = slang
+version    = 2.1.4
+major_ver  = 2.1
+release    = 1
 
-PKG_BUILD_DEPS+= ncurses-devel pcre-devel
+groups     = System/Libraries
+url        = http://www.jedsoft.org/slang/
+license    = GPLv2+
+summary    = Shared library for the S-Lang extension language.
 
-define PKG_DESCRIPTION
-       S-Lang is an interpreted language and a programming library. \
-       The S-Lang language was designed so that it can be easily embedded \
-       into a program to provide the program with a powerful extension \
+description
+       S-Lang is an interpreted language and a programming library.
+       The S-Lang language was designed so that it can be easily embedded
+       into a program to provide the program with a powerful extension
        language.
-endef
-
-PKG_TARBALL    = $(THISAPP).tar.bz2
-
-PKG_PACKAGES  += $(PKG_NAME)-devel
-
-CONFIGURE_OPTIONS += --sysconfdir=/etc
-
-PARALLELISMFLAGS = # off
-
-define STAGE_INSTALL_CMDS
-       rm -rvf $(BUILDROOT)/usr/share/slsh
-endef
+end
+
+source_dl  = ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v{major_ver}/
+sources    = %{thisapp}.tar.bz2
+
+build
+       requires
+               ncurses-devel
+               pcre-devel
+       end
+
+       configure_options += \
+               --sysconfdir=/etc
+
+       PARALLELISMFLAGS = # off
+
+       install_cmds
+               rm -rvf %{BUILDROOT}/usr/share/slsh
+       end
+end
+
+packages
+       package %{name}
+       end
+       
+       package %{name}-devel
+               template DEVEL
+       end
+end