First check in

This commit is contained in:
2016-10-24 06:24:10 -05:00
commit d00d644fd5
12 changed files with 4405 additions and 0 deletions

41
Makefile Normal file
View File

@@ -0,0 +1,41 @@
# 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 = bash,binutils,coreutils,gzip,perl,shadow,tar
ARCH = x86_64
URL =
DESC = This is the base of the snaplinux system
SNAPVER = sr0
ARCHIVE := ''
SRCDIR := $(PWD)/SRC/snap-*
PATCHDIR := $(PWD)/SRC/patches
VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'|sed 's/^-//')$(SNAPVER)
MAKEINST = make install
include /usr/share/snap/Makefile.snaplinux
$(ROOT): $(SRCDIR)/Makefile
@if [ -d $(ROOT) ]; then \
touch $(ROOT); \
else \
mkdir -v $(ROOT); \
fi
@cd $(SRCDIR); \
$(MAKEINST) DESTDIR=$(ROOT)
clean:
@rm -rvf $(ROOT) \
$(SNAPINFO) \
$(MANIFEST) \
$(FILES)