[csw-devel] SF.net SVN: gar:[10147] csw/mgar/pkg/file/trunk/Makefile
wahwah at users.sourceforge.net
wahwah at users.sourceforge.net
Wed Jun 9 07:37:18 CEST 2010
Revision: 10147
http://gar.svn.sourceforge.net/gar/?rev=10147&view=rev
Author: wahwah
Date: 2010-06-09 05:37:18 +0000 (Wed, 09 Jun 2010)
Log Message:
-----------
file: Adding the GNU link, /opt/csw/gnu/file
Modified Paths:
--------------
csw/mgar/pkg/file/trunk/Makefile
Modified: csw/mgar/pkg/file/trunk/Makefile
===================================================================
--- csw/mgar/pkg/file/trunk/Makefile 2010-06-09 00:35:48 UTC (rev 10146)
+++ csw/mgar/pkg/file/trunk/Makefile 2010-06-09 05:37:18 UTC (rev 10147)
@@ -27,6 +27,7 @@
PACKAGES += CSWpy-libmagic
PKGFILES_CSWgfile += $(bindir)/gfile
PKGFILES_CSWgfile += $(mandir)/man1/gfile\.1
+PKGFILES_CSWgfile += $(prefix)/gnu/file
PKGFILES_CSWpy-libmagic += /opt/csw/lib/python.*
SPKG_DESC_CSWgfile = A file type guesser
SPKG_DESC_CSWlibmagic = The library behind file(1)
@@ -61,4 +62,7 @@
(cd $(DESTDIR) && \
mv $(DESTDIR)$(bindir)/file $(DESTDIR)$(bindir)/gfile && \
mv $(DESTDIR)$(mandir)/man1/file\.1 $(DESTDIR)$(mandir)/man1/gfile\.1)
+ ginstall -d -m 755 $(DESTDIR)$(prefix)/gnu
+ (cd $(DESTDIR) && \
+ gln -s ../bin/gfile $(DESTDIR)$(prefix)/gnu/file)
@$(MAKECOOKIE)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list