mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Convert ha to working recipe
This commit is contained in:
@@ -1,10 +1,35 @@
|
||||
DESCRIPTION="The HA archiver using the HSC compression method"
|
||||
HOMEPAGE="http://packages.debian.org/squeeze/ha"
|
||||
SRC_URI="ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/ha0999.tgz"
|
||||
SUMMARY="The HA archiver using the HSC compression method"
|
||||
DESCRIPTION="The HA archiver using the HSC compression method"
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="1993-1995 Harri Hirvola"
|
||||
HOMEPAGE="https://code.google.com/p/ak-various-projects/"
|
||||
SRC_URI="https://ak-various-projects.googlecode.com/files/ha0999.tgz"
|
||||
REVISION="1"
|
||||
CHECKSUM_MD5="77f3266a451712bec55d60df67f61486"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
ARCHITECTURES="x86 ?x86_gcc2 ?x86_64"
|
||||
|
||||
PROVIDES="
|
||||
ha = $portVersion
|
||||
cmd:ha = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
cmd:gcc
|
||||
"
|
||||
|
||||
# This is intentionally empty to make haikuporter happy with the
|
||||
# way the source tarball is packaged
|
||||
SOURCE_DIR=""
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make -f makefile.nix
|
||||
@@ -12,9 +37,6 @@ BUILD()
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/`finddir B_COMMON_BIN_DIRECTORY`
|
||||
cp ha ${DESTDIR}/`finddir B_COMMON_BIN_DIRECTORY`/ha
|
||||
mkdir -p $binDir
|
||||
cp -af ha $binDir
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="1993-1995 Harri Hirvola"
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
diff -Naur nix.orig/machine.c nix/machine.c
|
||||
--- nix/machine.c 2009-11-24 15:27:43.000000000 +0000
|
||||
+++ nix/machine.c 2009-11-24 15:23:26.000000000 +0000
|
||||
@@ -22,6 +22,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include <utime.h>
|
||||
#include <time.h>
|
||||
Reference in New Issue
Block a user