2023-10-23 22:44:47 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2023-09-15 12:28:35 +00:00
|
|
|
# Copyright (C) 2023-present JELOS (https://github.com/JustEnoughLinuxOS)
|
|
|
|
|
|
|
|
PKG_NAME="dos2unix"
|
|
|
|
PKG_VERSION="7.5.1"
|
|
|
|
PKG_LICENSE="GPLv3"
|
|
|
|
PKG_SITE="https://sourceforge.net/projects/dos2unix"
|
|
|
|
PKG_URL="https://downloads.sourceforge.net/project/${PKG_NAME}/${PKG_NAME}/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
|
|
|
PKG_DEPENDS_HOST="toolchain"
|
|
|
|
PKG_LONGDESC="Dos2Unix / Unix2Dos - Text file format converters"
|
|
|
|
|
|
|
|
post_unpack() {
|
|
|
|
sed -i "s|prefix = /usr|prefix = ${TOOLCHAIN}|" ${PKG_BUILD}/Makefile
|
|
|
|
}
|