mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Convert/update patch to working recipe
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
DESCRIPTION="Utility to apply diffs to files."
|
||||
HOMEPAGE="http://www.gnu.org/software/patch/"
|
||||
SRC_URI="http://ftp.gnu.org/pub/gnu/patch/patch-2.6.1.tar.bz2"
|
||||
CHECKSUM_MD5="0818d1763ae0c4281bcdc63cdac0b2c0"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD()
|
||||
{
|
||||
cd patch-2.6.1
|
||||
prefix=$(finddir B_PACKAGE_LINKS_DIRECTORY)/patch-2.6.1
|
||||
./configure --prefix=$prefix \
|
||||
--datarootdir=$prefix/data \
|
||||
--sbindir=$prefix/bin \
|
||||
--includedir=$prefix/develop/headers \
|
||||
--sysconfdir=$prefix/settings \
|
||||
--docdir=$prefix/documentation/packages/patch \
|
||||
--infodir=$prefix/documentation/info \
|
||||
--mandir=$prefix/documentation/man
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd patch-2.6.1
|
||||
make install
|
||||
}
|
||||
LICENSE="GNU GPL v3"
|
||||
COPYRIGHT="1989-2009 Free Software Foundation, Inc."
|
||||
@@ -1,22 +1,41 @@
|
||||
DESCRIPTION="Utility to apply diffs to files"
|
||||
SUMMARY="Utility to apply diffs to files"
|
||||
DESCRIPTION="
|
||||
Patch takes a patch file containing a difference listing produced by
|
||||
the diff program and applies those differences to one or more
|
||||
original files, producing patched versions.
|
||||
"
|
||||
LICENSE="GNU GPL v3"
|
||||
COPYRIGHT="2012 Free Software Foundation, Inc."
|
||||
HOMEPAGE="http://www.gnu.org/software/patch/"
|
||||
SRC_URI="http://ftp.gnu.org/pub/gnu/patch/patch-2.7.1.tar.bz2"
|
||||
CHECKSUM_MD5="0881a7c6477862fc395f373ada0ec6b6"
|
||||
STATUS_HAIKU="stable"
|
||||
ARCHITECTURES="x86 x86_gcc2"
|
||||
REVISION="1"
|
||||
|
||||
PROVIDES="
|
||||
patch = $portVersion
|
||||
cmd:patch = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:make
|
||||
cmd:gcc
|
||||
"
|
||||
|
||||
SOURCE_DIR="$portVersionedName"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd patch-2.7.1
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
|
||||
runConfigure ./configure
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd patch-2.7.1
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v3"
|
||||
COPYRIGHT="2012 Free Software Foundation, Inc."
|
||||
Reference in New Issue
Block a user