mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
dos2unix: added recipe for version 7.2.2
This commit is contained in:
56
app-text/dos2unix/dos2unix-7.2.2.recipe
Normal file
56
app-text/dos2unix/dos2unix-7.2.2.recipe
Normal file
@@ -0,0 +1,56 @@
|
||||
SUMMARY="dos2unix and unix2dos end of line file convertors"
|
||||
DESCRIPTION="
|
||||
DOS/Windows like to put CR/LF at the end of lines whereas UNIX like to have \
|
||||
just LF. Dos2unix and unix2dos are simple parser/converter command line \
|
||||
programs to convert between the two formats.
|
||||
"
|
||||
HOMEPAGE="http://sourceforge.net/projects/dos2unix"
|
||||
SRC_URI="http://downloads.sourceforge.net/project/dos2unix/dos2unix/$portVersion/dos2unix-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="9c23907296267fa4ea66e1ee03eb6f6229cf7b64968318d00a77076ae89c2612"
|
||||
REVISION="1"
|
||||
COPYRIGHT="
|
||||
2009-2015 Erwin Waterlander
|
||||
1998 Christian Wurll
|
||||
1998 Bernd Johannes Wuebben
|
||||
1994-1995 Benjamin Lin.
|
||||
"
|
||||
LICENSE="BSD (2-clause)"
|
||||
|
||||
ARCHITECTURES="x86 x86_gcc2 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
dos2unix = $portVersion compat >= 7
|
||||
cmd:dos2unix
|
||||
cmd:unix2dos
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:make
|
||||
cmd:gcc
|
||||
cmd:find
|
||||
cmd:xargs
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
find -name "*.1" | xargs touch
|
||||
make $jobArgs ENABLE_NLS='' prefix="$prefix"
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make strip install ENABLE_NLS='' prefix="$prefix"
|
||||
|
||||
mkdir -p $docDir $manDir
|
||||
mv $prefix/share/doc/dos2unix-*/* $docDir/
|
||||
rm -rf $docDir/fr $docDir/de $docDir/es $docDir/nl $docDir/pl \
|
||||
$docDir/uk $docDir/pt_BR
|
||||
mv $prefix/share/man/man1 $manDir/
|
||||
|
||||
rm -rf $prefix/share
|
||||
}
|
||||
Reference in New Issue
Block a user