First check in after re-naming snap to sl. This involved a lot of variable renaming and there are likely a number of other little hacks and tweaks.
This commit is contained in:
41
Makefile
Normal file
41
Makefile
Normal 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 = binutils,coreutils,gzip,perl>=5.20.0,tar
|
||||
ARCH = x86_64
|
||||
URL = http://snaplinux.org
|
||||
REPO = core
|
||||
BRIEF = The Snaplinux package management system
|
||||
DESC = The Snaplinux package management system
|
||||
SLVER = 0
|
||||
|
||||
ARCHIVE := ''
|
||||
SRCDIR := $(PWD)/SRC/sl
|
||||
PATCHDIR := $(PWD)/SRC/patches
|
||||
VERSION := $(shell egrep 'VERSION\s*=' SRC/sl/SL.pm| \
|
||||
awk -F\' '{print $$2}')-$(SLVER)
|
||||
|
||||
include /usr/share/sl/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) \
|
||||
$(SLINFO) \
|
||||
$(MANIFEST) \
|
||||
$(FILES)
|
||||
|
||||
Reference in New Issue
Block a user