slish rev 2
Added Makefile and COPYING
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jan 22 18:35:31 2014 +0100 (2014-01-22) |
parents | e2f77a3185ab |
children | 2f91234fc15c |
files | COPYING Makefile |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/COPYING Wed Jan 22 18:35:31 2014 +0100 1.3 @@ -0,0 +1,26 @@ 1.4 +Copyright (c) The Regents of the University of California. 1.5 +All rights reserved. 1.6 + 1.7 +Redistribution and use in source and binary forms, with or without 1.8 +modification, are permitted provided that the following conditions 1.9 +are met: 1.10 +1. Redistributions of source code must retain the above copyright 1.11 + notice, this list of conditions and the following disclaimer. 1.12 +2. Redistributions in binary form must reproduce the above copyright 1.13 + notice, this list of conditions and the following disclaimer in the 1.14 + documentation and/or other materials provided with the distribution. 1.15 +3. Neither the name of the University nor the names of its contributors 1.16 + may be used to endorse or promote products derived from this software 1.17 + without specific prior written permission. 1.18 + 1.19 +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1.20 +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1.21 +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1.22 +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 1.23 +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1.24 +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1.25 +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1.26 +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 1.27 +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 1.28 +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 1.29 +SUCH DAMAGE.
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/Makefile Wed Jan 22 18:35:31 2014 +0100 2.3 @@ -0,0 +1,16 @@ 2.4 +# Makefile for SliSH. 2.5 +# 2.6 + 2.7 +PREFIX?=/usr 2.8 +DESTDIR?= 2.9 + 2.10 +# Install/Uninstall 2.11 + 2.12 +install: 2.13 + install -m 0777 -d $(DESTDIR)$(PREFIX)/share/slish 2.14 + install -m 0755 slish $(DESTDIR)$(PREFIX)/bin 2.15 + install -m 0755 tools/slish.sh $(DESTDIR)$(PREFIX)/share/slish 2.16 + 2.17 +uninstall: 2.18 + rm -f $(DESTDIR)$(PREFIX)/bin/slish 2.19 + rm -rf $(DESTDIR)$(PREFIX)/share/slish