mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
MAWK: update, url-fix, reduced deps. (#1781)
This commit is contained in:
57
sys-apps/mawk/mawk-1.3.4_20171017.recipe
Normal file
57
sys-apps/mawk/mawk-1.3.4_20171017.recipe
Normal file
@@ -0,0 +1,57 @@
|
||||
SUMMARY="A pattern scanning and processing language"
|
||||
DESCRIPTION="If you are like many computer users, you would frequently like \
|
||||
to make changes in various text files wherever certain patterns appear, or \
|
||||
extract data from parts of certain lines while discarding the rest. To \
|
||||
write a program to do this in a language such as C or Pascal is a \
|
||||
time-consuming inconvenience that may take many lines of code. The job \
|
||||
is easy with awk.
|
||||
|
||||
The awk utility interprets a special-purpose programming language that \
|
||||
makes it possible to handle simple data-reformatting jobs with just a \
|
||||
few lines of code."
|
||||
HOMEPAGE="http://invisible-island.net/mawk"
|
||||
COPYRIGHT="2009-2017 Thomas E. Dickey"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="ftp://ftp.invisible-island.net/mawk/mawk-1.3.4-20171017.tgz"
|
||||
CHECKSUM_SHA256="db17115d1ed18ed1607c8b93291db9ccd4fe5e0f30d2928c3c5d127b23ec9e5b"
|
||||
SOURCE_DIR="mawk-1.3.4-20171017"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64 arm ppc"
|
||||
|
||||
PROVIDES="
|
||||
mawk = $portVersion compat >= 1
|
||||
cmd:awk = $portVersion compat >= 1
|
||||
cmd:mawk = $portVersion compat >= 1
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:make
|
||||
cmd:makeinfo
|
||||
cmd:sed
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
./configure --prefix=$prefix --mandir=$manDir
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
ln -s $binDir/mawk $binDir/awk
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user