mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
Initial bep and patch for xar, from GCI2012 student skycocker.
This needs fts.h which is pending application of Haiku trac ticket 9337.
This commit is contained in:
24
app-arch/xar/patches/xar-1.5.2.patch
Normal file
24
app-arch/xar/patches/xar-1.5.2.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
diff -Naur xar-1.5.2/lib/darwinattr.c xar-1.5.2-haiku/lib/darwinattr.c
|
||||
--- xar-1.5.2/lib/darwinattr.c 2007-12-29 18:49:57.035651584 +0000
|
||||
+++ xar-1.5.2-haiku/lib/darwinattr.c 2013-01-09 20:55:26.246415360 +0000
|
||||
@@ -40,7 +40,7 @@
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <libgen.h>
|
||||
-#include <sys/fcntl.h>
|
||||
+#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <arpa/inet.h>
|
||||
#include "xar.h"
|
||||
diff -Naur xar-1.5.2/lib/stat.c xar-1.5.2-haiku/lib/stat.c
|
||||
--- xar-1.5.2/lib/stat.c 2007-12-29 18:49:57.033554432 +0000
|
||||
+++ xar-1.5.2-haiku/lib/stat.c 2013-01-09 20:55:34.206307328 +0000
|
||||
@@ -53,7 +53,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/time.h>
|
||||
-#include <sys/fcntl.h>
|
||||
+#include <fcntl.h>
|
||||
#include <time.h>
|
||||
#include <pwd.h>
|
||||
#include <grp.h>
|
||||
25
app-arch/xar/xar-1.5.2.bep
Normal file
25
app-arch/xar/xar-1.5.2.bep
Normal file
@@ -0,0 +1,25 @@
|
||||
DESCRIPTION="Easily extensible archiver"
|
||||
HOMEPAGE="http://code.google.com/p/xar/"
|
||||
SRC_URI="http://xar.googlecode.com/files/xar-1.5.2.tar.gz"
|
||||
CHECKSUM_MD5="8eabb055d3387b8edc30ecfb08d2e80d"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
MESSAGE="This port builds only with gcc4. Use 'setgcc gcc4' before building."
|
||||
DEPEND=""
|
||||
|
||||
BUILD {
|
||||
cd xar-1.5.2
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoconf
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd xar-1.5.2
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="BSD (3-clause)"
|
||||
COPYRIGHT="2005 Rob Braun"
|
||||
Reference in New Issue
Block a user