debian swirl logo

Back to the packages list glark

#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk
DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(CURDIR)/debian/glark 

install/glark::
		sed -e 's/^exec ruby /exec ruby1.8 /;s/^#!ruby /#!ruby1.8/;s:^#!/usr/bin/ruby :#!/usr/bin/ruby1.8 :' -i \
			$(CURDIR)/debian/glark/usr/bin/glark \
			$(CURDIR)/debian/glark/usr/share/glark/*.rb

Builds:

glark
pattern matching tool similar to grep