wok-next view sed/receipt @ rev 19641
Add libpng12; up libpng & apng tools.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 15 18:52:32 2017 +0200 (2017-02-15) |
parents | 479b6badd960 |
children | 9278a60d6895 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sed"
4 VERSION="4.2.2"
5 CATEGORY="development"
6 SHORT_DESC="GNU stream editor."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/sed/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="acl"
16 BUILD_DEPENDS="acl-dev gettext texinfo"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 patch -p1 -i $stuff/ru.po.patch
22 msgfmt po/ru.po -o po/ru.gmo
24 ./configure \
25 --bindir=/bin \
26 --htmldir=/usr/share/doc/sed-$VERSION \
27 $CONFIGURE_ARGS &&
28 make $MAKEFLAGS && make html && make install && make -C doc install-html
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cook_copy_files sed
35 }
37 post_remove()
38 {
39 ln -s busybox "$1/bin/sed"
40 }