# This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation here: # (http://www.gnu.org/licenses/gpl-2.0.html) # # 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. DEPENDS = dash,dhclient,iproute2 ARCH = none URL = http://snaplinux.org/ REPO = core BRIEF = Scripts for starting and stopping network interfaces DESC = Scripts which use the iproute2 tools for automatically starting and \ stopping network devices during startup. SNAPVER = 1 ARCHIVE := SRCDIR := $(PWD)/SRC/iftools PATCHDIR := $(PWD)/SRC/patches VERSION := $(shell grep 'VERSION=' SRC/iftools/ifup| \ cut -d "=" -f2)-$(SNAPVER) include /usr/share/snap/Makefile.snaplinux $(ROOT): $(SRCDIR)/Makefile @if [ -d $(ROOT) ]; then \ touch $(ROOT); \ else \ mkdir -v $(ROOT); \ fi @cd $(SRCDIR) && make install DESTDIR=$(ROOT) clean: @rm -rvf $(ROOT) \ $(SNAPINFO) \ $(MANIFEST) \ $(FILES)