diff options
author | Larry Hajali <larryhaja [at] gmail [dot] com> | 2010-05-12 23:31:55 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 23:31:55 +0200 |
commit | 68535f1807fe898ae73501f449dc11af05fa029c (patch) | |
tree | 1542b8cdb683c4e351153bf7f9e946fa832b5938 /network/airoscript/Makefile.patch | |
parent | 17de40e589dee444cb54dbba87aa06dc03e6d5c7 (diff) | |
download | slackbuilds-68535f1807fe898ae73501f449dc11af05fa029c.tar.gz |
network/airoscript: Added to 12.2 repository
Diffstat (limited to 'network/airoscript/Makefile.patch')
-rw-r--r-- | network/airoscript/Makefile.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/network/airoscript/Makefile.patch b/network/airoscript/Makefile.patch new file mode 100644 index 0000000000..1bece7e7d0 --- /dev/null +++ b/network/airoscript/Makefile.patch @@ -0,0 +1,31 @@ +diff -Naur airoscript.orig/Makefile airoscript.new/Makefile +--- airoscript.orig/Makefile 2009-02-05 12:41:57.000000000 +0000 ++++ airoscript.new/Makefile 2009-03-13 03:43:04.000000000 +0000 +@@ -7,14 +7,14 @@ +
+
+ # Dirs
+-PREF="/usr/local"
++PREF="/usr"
+ BINMODE="755"
+ SBINDIR=$(DESTDIR)$(PREF)"/sbin"
+ ETCDIR=$(DESTDIR)"/etc"
+ SHAREDIR=$(DESTDIR)$(PREF)"/share/airoscript"
+-LOCALEDIR=$(DESTDIR)$(PREF)"/share/locale/"
+-MANDIR=$(DESTDIR)$(PREF)"/share/man/man1"
+-DOCDIR=$(DESTDIR)$(PREF)"/share/doc/airoscript"
++LOCALEDIR=$(DESTDIR)$(PREF)"/share/locale"
++MANDIR=$(DESTDIR)$(PREF)"/man/man1"
++DOCDIR=$(DESTDIR)$(PREF)"/doc/airoscript-2.1.1"
+
+ install: airopdate
+ @echo -en "Installing files into:$(BINDIR) $(ETCDIR) $(SHAREDIR) $(DOCDIR) $(SBINDIR) "
+@@ -23,7 +23,7 @@ + @cp -r $(CURDIR)/src/themes/* $(SHAREDIR)/themes/
+ @chown $(UID):$(GID) $(SHAREDIR)/themes/*
+ @chmod $(BINMODE) $(SHAREDIR)/themes/*.theme
+- @install -D -o $(UID) -g $(GID) -m $(BINMODE) $(CURDIR)/src/airoscript.conf $(ETCDIR)/airoscript.conf
++ @install -D -o $(UID) -g $(GID) -m 644 $(CURDIR)/src/airoscript.conf $(ETCDIR)/airoscript.conf
+ @install -o $(UID) -g $(GID) -m $(BINMODE) $(CURDIR)/src/airopdate.sh $(SHAREDIR)/airopdate
+ @install -o $(UID) -g $(GID) -m $(BINMODE) $(CURDIR)/src/airoscfunc.sh $(SHAREDIR)/airoscfunc.sh
+ @install -o $(UID) -g $(GID) -m $(BINMODE) $(CURDIR)/src/airoscfunc_screen.sh $(SHAREDIR)/airoscfunc_screen.sh
|