wok-6.x annotate duc/receipt @ rev 23760

librsvg: try fix libtool
author Hans-G?nter Theisgen
date Mon May 04 07:56:50 2020 +0100 (2020-05-04)
parents 290cd00c886d
children 5ea0ce1cecc0
rev   line source
pascal@21062 1 # SliTaz package receipt.
pascal@21062 2
pascal@21062 3 PACKAGE="duc"
pascal@21062 4 VERSION="1.4.4"
pascal@21062 5 CATEGORY="base-system"
pascal@21062 6 SHORT_DESC="Tools for inspecting and visualizing disk usage"
pascal@21062 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@21063 8 LICENSE="LGPL3"
pascal@21062 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@22632 10 WEB_SITE="https://github.com/zevv/duc"
pascal@22632 11 WGET_URL="$WEB_SITE/releases/download/$VERSION/$TARBALL"
pascal@21062 12
pascal@21062 13 DEPENDS="ncursesw pango tokyocabinet"
pascal@21062 14 BUILD_DEPENDS="ncursesw-dev pango-dev tokyocabinet-dev"
pascal@21062 15
pascal@21062 16 # Rules to configure and make the package.
pascal@21062 17 compile_rules()
pascal@21062 18 {
pascal@21062 19 sed -i 's|ncursesw/ncurses.h|ncurses.h|' src/duc/cmd-ui.c
pascal@21062 20 ./configure --prefix=/usr \
pascal@21062 21 --mandir=/usr/share/man \
pascal@21062 22 $CONFIGURE_ARGS &&
pascal@21062 23 make &&
pascal@21062 24 make DESTDIR=$DESTDIR install
pascal@21062 25 }
pascal@21062 26
pascal@21062 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@21062 28 genpkg_rules()
pascal@21062 29 {
pascal@21062 30 mkdir -p $fs/usr
pascal@21062 31 cp -a $install/usr/bin $fs/usr
pascal@21062 32 }