diff --git a/app-arch/lcab/lcab-1.0b12.recipe b/app-arch/lcab/lcab-1.0b12.recipe new file mode 100644 index 000000000..54d52e719 --- /dev/null +++ b/app-arch/lcab/lcab-1.0b12.recipe @@ -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 +} diff --git a/app-arch/lcab/patches/lcab-1.0b12.patch b/app-arch/lcab/patches/lcab-1.0b12.patch new file mode 100644 index 000000000..fcf5dc565 --- /dev/null +++ b/app-arch/lcab/patches/lcab-1.0b12.patch @@ -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