X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=pkgs%2Flibnl%2Flibnl.nm;h=a8d3cae4f389db77a2c600abdad261fbc5ab62e2;hb=802ea3af55e3167b6574e23b230cdbf0ed2ae0db;hp=be5497bd6dd1be970a04d7b63b0c24d023198d2b;hpb=f0b55c28746b56de89d7a10a4ad0ad2a4939baac;p=people%2Fms%2Fipfire-3.x.git diff --git a/pkgs/libnl/libnl.nm b/pkgs/libnl/libnl.nm index be5497bd6..a8d3cae4f 100644 --- a/pkgs/libnl/libnl.nm +++ b/pkgs/libnl/libnl.nm @@ -1,54 +1,42 @@ ############################################################################### -# # -# 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 . # -# # +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # ############################################################################### -############################################################################### -# Definitions -############################################################################### - -include $(PKGROOT)/Include +name = libnl +version = 1.1 +release = 1 -PKG_NAME = libnl -PKG_VER = 1.1 -PKG_REL = 0 +groups = Development/Libraries +url = http://people.suug.ch/~tgr/libnl/ +license = LGPLv2 +summary = Convenience library for kernel netlink sockets. -PKG_MAINTAINER = -PKG_GROUPS = Development/Libraries -PKG_URL = http://people.suug.ch/~tgr/libnl/ -PKG_LICENSE = LGPLv2 -PKG_SUMMARY = Convenience library for kernel netlink sockets. - -define PKG_DESCRIPTION +description This package contains a convenience library to simplify using the \ Linux kernel's netlink sockets interface for network manipulation. -endef - -PKG_TARBALL = $(THISAPP).tar.gz - -PKG_PACKAGES += $(PKG_NAME)-devel - -CONFIGURE_OPTIONS += --libdir=/lib - -define STAGE_INSTALL_CMDS - rm -vf $(BUILDROOT)/lib/libnl.so - -mkdir -pv $(BUILDROOT)/usr/lib - ln -svf ../../lib/libnl.so.1 $(BUILDROOT)/usr/lib/libnl.so - - mv -v $(BUILDROOT)/lib/pkgconfig $(BUILDROOT)/usr/lib/pkgconfig -endef +end + +source_dl = + +build + configure_options += \ + --libdir=/lib + + install_cmds + rm -vf %{BUILDROOT}/lib/libnl.so + mkdir -pv %{BUILDROOT}/usr/lib + ln -svf ../../lib/libnl.so.1 %{BUILDROOT}/usr/lib/libnl.so + + mv -v %{BUILDROOT}/lib/pkgconfig %{BUILDROOT}/usr/lib/pkgconfig + end +end + +packages + package %{name} + end + + package %{name}-devel + template DEVEL + end +end