Merge pull request #494 from fbrosson/lcab

lcab: create recipe for version 1.0b12.
This commit is contained in:
waddlesplash
2016-02-29 19:07:31 -05:00
2 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
SUMMARY="Cabinet file creation tool"
DESCRIPTION="lcab is a command-line tool for creating Microsoft Cabinet files, \
also called CAB files or archives. lcab does not list nor extract MS CAB \
files. This can be done with separate tools such as cabextract.
The \".cab\" file extension is also used for another compressed archive format \
used by InstallShield but that format is unrelated to the MS CAB format."
HOMEPAGE="http://ohnopub.net/~ohnobinki/lcab/"
COPYRIGHT="2003-2007 Rien"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://mirror.ohnopub.net/mirror/lcab-$portVersion.tar.gz"
CHECKSUM_SHA256="065f2c1793b65f28471c0f71b7cf120a7064f28d1c44b07cabf49ec0e97f1fc8"
PATCHES="lcab-$portVersion.patch"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
lcab = $portVersion
cmd:lcab = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:autom4te
cmd:automake
cmd:gcc
cmd:ld
cmd:make
"
BUILD()
{
aclocal
automake -a -i
runConfigure --omit-dirs "docDir dataRootDir" ./configure
make $jobArgs
}
INSTALL()
{
make install
}

View File

@@ -0,0 +1,15 @@
diff -U0 lcab-1.0b12/mytypes.h lcab-1.0b12-haiku/mytypes.h
--- lcab-1.0b12/mytypes.h 2007-05-22 12:45:39.000000000 +0000
+++ lcab-1.0b12-haiku/mytypes.h
@@ -52 +52 @@
-#define VERSION "1.0b11"
+#define VERSION "1.0b12"
diff -u lcab-1.0b12/Makefile.am lcab-1.0b12-haiku/Makefile.am
--- lcab-1.0b12/Makefile.am 2007-05-22 12:45:39.000000000 +0000
+++ lcab-1.0b12-haiku/Makefile.am
@@ -1,3 +1,3 @@
bin_PROGRAMS = lcab
-lcab_SOURCES = cdata.c cfile.c cfolder.c cheader.c checksum.c cwrite.c main.c warn.c cdata.h cfile.h cfolder.h cheader.h checksum.h cwrite.h cstruct.h mytypes.h
-
+lcab_SOURCES = cdata.c cfile.c cfolder.c cheader.c checksum.c cwrite.c main.c warn.c cdata.h cfile.h cfolder.h cheader.h checksum.h cwrite.h cstruct.h mytypes.h warn.h
+man_MANS = lcab.1