###############################################################################
-# #
-# 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 = usbutils
+epoch = 1
+version = 003
+release = 1
-PKG_NAME = usbutils
-PKG_EPOCH = 1
-PKG_VER = 003
-PKG_REL = 1
+groups = System/Tools
+url = http://www.linux-usb.org/
+license = GPLv2
+summary = Tool to provide and enhance USB support in Linux.
-PKG_MAINTAINER =
-PKG_GROUPS = System/Tools
-PKG_URL = http://www.linux-usb.org/
-PKG_LICENSE = GPLv2
-PKG_SUMMARY = Tool to provide and enhance USB support in Linux.
+description
+ A set of tools to configure list USB Devices.
+end
-PKG_BUILD_DEPS+= libusb-devel pkg-config zlib-devel
+source_dl = http://www.kernel.org/pub/linux/utils/usb/usbutils/
-define PKG_DESCRIPTION
- A set of tools to configure list USB Devices.
-endef
+build
+ requires
+ libusb-devel
+ pkg-config
+ zlib-devel
+ end
-PKG_TARBALL = $(THISAPP).tar.gz
+ install_cmds
+ rm -fv %{BUILDROOT}/usr/share/usb.ids.gz
-define STAGE_INSTALL_CMDS
- rm -fv $(BUILDROOT)/usr/share/usb.ids.gz
+ # Removing lsusb.py.
+ rm -rfv %{BUILDROOT}/usr/bin/lsusb.py
+ end
+end
- # Removing lsusb.py.
- rm -rfv $(BUILDROOT)/usr/bin/lsusb.py
-endef
+packages
+ package %{name}
+ end
+end