<commit_before># Extracts files from Microsoft CAB archives
# http://www.cabextract.org.uk/
# GPL

include ../../Library/Rules.mk

TITLE=		cabextract $(VERSION)
NAME=		cabextract
VERSION=	1.3
REVISION=	0
URL=		http://www.cabextract.org.uk/
SOURCE=		$(NAME)-$(VERSION).tar.gz

prep: retrieve
	tar zxvf $(SOURCE)
	touch prep

build: prep $(DEPENDS)
	cd $(BUILDDIR) ; env CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
	$(configure) ; $(make)
	touch build

install: build
	cd $(BUILDDIR) ; make DESTDIR=$(INSTALLDIR) install
	install -m 755 $(BUILDDIR)/src/cabinfo $(INSTALLDIR)/usr/local/bin
	install -d $(INSTALLDOCDIR)
	install -m 644 $(BUILDDIR)/{AUTHORS,COPYING,ChangeLog,NEWS,README,TODO} $(INSTALLDOCDIR)
	install -m 644 $(BUILDDIR)/doc/{magic,*.html} $(INSTALLDOCDIR)
	strip $(INSTALLDIR)/usr/local/bin/*
	touch install

test: install
	for x in $(wildcard $(INSTALLDIR)/usr/local/bin/*) ; do \
		lipo $$x -verify_arch i386 x86_64 ; done
	touch test
<commit_msg>[NEW] Created dmg includes README and COPYING.<commit_after># Extracts files from Microsoft CAB archives
# http://www.cabextract.org.uk/
# GPL

include ../../Library/Rules.mk

TITLE=		cabextract $(VERSION)
NAME=		cabextract
VERSION=	1.3
REVISION=	1
URL=		http://www.cabextract.org.uk/
SOURCE=		$(NAME)-$(VERSION).tar.gz

README=		$(BUILDDIR)/README
LICENSE=	$(BUILDDIR)/COPYING

prep: retrieve
	tar zxvf $(SOURCE)
	touch prep

build: prep $(DEPENDS)
	cd $(BUILDDIR) ; env CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
	$(configure) ; $(make)
	touch build

install: build
	cd $(BUILDDIR) ; make DESTDIR=$(INSTALLDIR) install
	install -m 755 $(BUILDDIR)/src/cabinfo $(INSTALLDIR)/usr/local/bin
	install -d $(INSTALLDOCDIR)
	install -m 644 $(README) $(INSTALLDOCDIR)
	install -m 644 $(LICENSE) $(INSTALLDOCDIR)
	install -m 644 $(BUILDDIR)/{AUTHORS,ChangeLog,NEWS,TODO} $(INSTALLDOCDIR)
	install -m 644 $(BUILDDIR)/doc/{magic,*.html} $(INSTALLDOCDIR)
	strip $(INSTALLDIR)/usr/local/bin/*
	touch install

test: install
	for x in $(wildcard $(INSTALLDIR)/usr/local/bin/*) ; do \
		lipo $$x -verify_arch i386 x86_64 ; done
	touch test

{'fraction_non_alphanumeric': 0.1645083932853717, 'fraction_numerical': 0.021103117505995205, 'mean_word_length': 4.60752688172043, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1428316', 'n_tokens_mistral': 844, 'n_tokens_neox': 788, 'n_words': 196}