Fixed dos2unix to get source files from haikuports svn.

This commit is contained in:
Scott McCreary
2010-05-30 04:22:06 +00:00
parent b6876fe24c
commit 70c84b25df

View File

@@ -1,7 +1,6 @@
DESCRIPTION="dos2unix and unix2dos end of line file converters."
HOMEPAGE="http://www.programmersheaven.com/download/3118/download.aspx"
SRC_URI="http://www.haiku-ports.de/packages/app-text/dos2unix/source/dos2unix-1.0.zip"
CHECKSUM_MD5="62ef289200b86534945db66a027f522b"
SRC_URI="svn+http://ports.haiku-files.org/svn/haikuports/trunk/app-text/dos2unix"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
@@ -13,6 +12,7 @@ BUILD {
INSTALL {
cd dos2unix-1.0
cp dos2unix `finddir B_COMMON_BIN_DIRECTORY`/dos2unix
cp unix2dos `finddir B_COMMON_BIN_DIRECTORY`/unix2dos
mkdir -p ${DESTDIR}`finddir B_COMMON_BIN_DIRECTORY`
cp dos2unix ${DESTDIR}`finddir B_COMMON_BIN_DIRECTORY`/dos2unix
cp unix2dos ${DESTDIR}`finddir B_COMMON_BIN_DIRECTORY`/unix2dos
}