Renamed converttolf version, fixed license, pinned commit, copyright corrected

This commit is contained in:
Puck Meerburg
2013-12-03 20:51:59 +01:00
parent 9a53e5632a
commit 7091695365
2 changed files with 4 additions and 4 deletions

View File

@@ -0,0 +1,51 @@
SUMMARY="A small tool to turn CRLF into LF without fuss!"
DESCRIPTION="
ConvertToLF is a filter that removes the carriage returns used in the
end of file markers on some operating systems. Haiku uses just a line
feed to mark the end of line, and gcc, the Haiku compiler and StyledEdit
don't function properly with carriage returns in source code / text files.
" # Taken from the homepage
HOMEPAGE="https://github.com/HaikuArchives/ConvertToLF/"
SRC_URI="git://github.com/HaikuArchives/ConvertToLF.git#68aa99caf238e6ae91203f5023daa6716ea6c2cb"
REVISION="1"
COPYRIGHT="
2008 fReT
"
LICENSE="GNU GPL v2"
ARCHITECTURES="x86_gcc2 x86"
PATCHES="converttolf-0.0.0.patch"
PROVIDES="
ConvertToLF = $portVersion
app:ConvertToLF = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:xres
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD()
{
g++ -lbe -ltracker -o ConvertToLF Source/Strip.cpp
xres -o ConvertToLF Source/ConvertToLF.rsrc
}
INSTALL()
{
mkdir -p $addOnsDir/Tracker
cp ConvertToLF $addOnsDir/Tracker
}