wok-next view dos2unix/receipt @ rev 20947

Random updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Aug 31 11:58:18 2018 +0300 (2018-08-31)
parents
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="dos2unix"
4 VERSION="7.4.0"
5 CATEGORY="utilities"
6 SHORT_DESC="Text file format converters"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="http://waterlan.home.xs4all.nl/dos2unix.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://waterlan.home.xs4all.nl/dos2unix/$TARBALL"
14 BUILD_DEPENDS=""
16 compile_rules() {
17 sed -e '/^LDFLAGS/s|=|+=|' \
18 -e '/CFLAGS_OS \+=/d' \
19 -e '/LDFLAGS_EXTRA \+=/d' \
20 -e "/^CFLAGS/s|-O2|$CFLAGS|" \
21 -i Makefile
23 make ENABLE_NLS= &&
24 make prefix=/usr \
25 docsubdir=dos2unix \
26 ENABLE_NLS= \
27 DESTDIR=$install \
28 install
29 }
31 genpkg_rules() {
32 copy @std
33 DEPENDS=""
34 }