mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
Added file-5.04
This commit is contained in:
18
sys-apps/file/file-5.04.bep
Normal file
18
sys-apps/file/file-5.04.bep
Normal file
@@ -0,0 +1,18 @@
|
||||
DESCRIPTION="Identify a file's format by scanning binary data for patterns"
|
||||
HOMEPAGE="ftp://ftp.astron.com/pub/file/"
|
||||
SRC_URI="ftp://ftp.astron.com/pub/file/file-5.04.tar.gz"
|
||||
CHECKSUM_MD5="accade81ff1cc774904b47c72c8aeea0"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd file-5.04
|
||||
autoreconf -fvi
|
||||
./configure --prefix=/boot/common
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd file-5.04
|
||||
make install
|
||||
}
|
||||
5
sys-apps/file/file.OptionalPackageDescription
Normal file
5
sys-apps/file/file.OptionalPackageDescription
Normal file
@@ -0,0 +1,5 @@
|
||||
Package: file
|
||||
Version: 5.04
|
||||
Copyright: 1986-1999 Ian F. Darwin
|
||||
License: BSD (2-clause)
|
||||
URL: ftp://ftp.astron.com/pub/file/
|
||||
20
sys-apps/file/patches/file-5.04.patch
Normal file
20
sys-apps/file/patches/file-5.04.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
diff -up file-5.04/configure.ac.orig file-5.04/configure.ac
|
||||
--- file-5.04/configure.ac.orig 2010-02-24 23:25:36.805044224 -0700
|
||||
+++ file-5.04/configure.ac 2010-02-24 23:25:01.144441344 -0700
|
||||
@@ -128,14 +128,14 @@ else
|
||||
WARNINGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \
|
||||
-Wmissing-declarations -Wredundant-decls -Wnested-externs \
|
||||
-Wsign-compare -Wreturn-type -Wswitch -Wshadow \
|
||||
- -Wcast-qual -Wwrite-strings -Wextra -Wunused-parameter"
|
||||
+ -Wcast-qual -Wwrite-strings"
|
||||
fi], [
|
||||
if test "$GCC" = yes; then
|
||||
AC_MSG_RESULT(yes)
|
||||
WARNINGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \
|
||||
-Wmissing-declarations -Wredundant-decls -Wnested-externs \
|
||||
-Wsign-compare -Wreturn-type -Wswitch -Wshadow \
|
||||
- -Wcast-qual -Wwrite-strings -Wextra -Wunused-parameter"
|
||||
+ -Wcast-qual -Wwrite-strings"
|
||||
else
|
||||
WARNINGS=
|
||||
AC_MSG_RESULT(no)
|
||||
Reference in New Issue
Block a user