###############################################################################
-# #
-# 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
+name = aiccu
+version = 20070115
+release = 1
-PKG_NAME = aiccu
-PKG_VER = 20070115
-PKG_REL = 0
+groups = System/Daemons
+url = http://www.sixxs.net/tools/aiccu/
+license = BSD
+summary = Automatic IPv6 Connectivity Client Utility for SixXS tunnels.
-PKG_MAINTAINER =
-PKG_GROUPS = System/Daemons
-PKG_URL = http://www.sixxs.net/tools/aiccu/
-PKG_LICENSE = BSD
-PKG_SUMMARY = Automatic IPv6 Connectivity Client Utility for SixXS tunnels.
+description
+ This client automatically gives one IPv6 connectivity without having
+ to manually configure interfaces etc. One does need a SixXS account
+ and at least a tunnel.
+end
-PKG_BUILD_DEPS+= gnutls-devel
+source_dl = http://www.sixxs.net/archive/sixxs/aiccu/unix/
-define PKG_DESCRIPTION
- This client automatically gives one IPv6 connectivity without having \
- to manually configure interfaces etc. One does need a SixXS account \
- and at least a tunnel.
-endef
+build
+ requires
+ gnutls-devel
+ end
-PKG_TARBALL = $(THISAPP).tar.gz
+ DIR_APP = %{DIR_SRC}/%{name}
-DIR_APP = $(DIR_SRC)/$(PKG_NAME)
+ build
+ %{DO_FIX_LIBTOOL}
+ make %{PARALLELISMFLAGS} RPM_OPT_FLAGS="%{CFLAGS}"
+ end
-define STAGE_BUILD
- $(DO_FIX_LIBTOOL)
- cd $(DIR_APP) && make $(PARALLELISMFLAGS) RPM_OPT_FLAGS="$(CFLAGS)"
-endef
+ install_cmds
+ rm -rvf %{BUILDROOT}/{etc,usr/share}
+ end
+end
-define STAGE_INSTALL_CMDS
- rm -rvf $(BUILDROOT)/{etc,usr/share}
-endef
+packages
+ package %{name}
+ end
+end