wok-current annotate tmux/receipt @ rev 25075
created recipe for alsa-ucm-conf
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 14 07:07:03 2022 +0100 (2022-06-14) |
parents | 5ea0ce1cecc0 |
children | 03bcf02499ab |
rev | line source |
---|---|
paul@5858 | 1 # SliTaz package receipt. |
paul@5858 | 2 |
paul@5858 | 3 PACKAGE="tmux" |
Hans-G?nter@23706 | 4 VERSION="3.0a" |
paul@5858 | 5 CATEGORY="utilities" |
paul@5858 | 6 SHORT_DESC="Terminal multiplexer." |
paul@5858 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15601 | 8 LICENSE="MIT" |
Hans-G?nter@22044 | 9 WEB_SITE="https://github.com/tmux/tmux/wiki" |
Hans-G?nter@22044 | 10 |
paul@5858 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22044 | 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/$VERSION/$TARBALL" |
Hans-G?nter@22044 | 13 |
Hans-G?nter@22044 | 14 DEPENDS="libevent ncursesw" |
Hans-G?nter@22044 | 15 BUILD_DEPENDS="libevent-dev ncursesw-dev" |
Hans-G?nter@22044 | 16 |
pankso@16116 | 17 HOST_ARCH="i486 arm" |
paul@5858 | 18 |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24302 | 22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
paul@5858 | 25 # Rules to configure and make the package. |
paul@5858 | 26 compile_rules() |
paul@5858 | 27 { |
Hans-G?nter@22044 | 28 export LDFLAGS="$LDFLAGS -ltinfo" |
Hans-G?nter@22044 | 29 |
gokhlayeh@11573 | 30 ./configure $CONFIGURE_ARGS && |
gokhlayeh@9104 | 31 make PREFIX=/usr && |
gokhlayeh@9104 | 32 make PREFIX=/usr install && |
Hans-G?nter@23706 | 33 install -d m755 "$DESTDIR/usr/share/tmux/" && |
Hans-G?nter@22044 | 34 install -m 644 example_tmux.conf $DESTDIR/usr/share/tmux/ |
paul@5858 | 35 } |
paul@5858 | 36 |
paul@5858 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@5858 | 38 genpkg_rules() |
paul@5858 | 39 { |
Hans-G?nter@23706 | 40 mkdir -p $fs/usr/share/terminfo/s |
paul@5858 | 41 |
Hans-G?nter@22044 | 42 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22044 | 43 |
Hans-G?nter@22044 | 44 # copy sample configuration |
Hans-G?nter@22044 | 45 cp -a $install/usr/share/tmux $fs/usr/share |
gokhlayeh@9104 | 46 |
paul@13532 | 47 # Get screen terminfo data |
pascal@9114 | 48 tazpkg get-install ncursesw-extra --root=$src/ncursesw-extra > /dev/null 2>&1 |
gokhlayeh@9104 | 49 cp -a $src/ncursesw-extra/usr/share/terminfo/s/screen \ |
Hans-G?nter@23706 | 50 $fs/usr/share/terminfo/s |
gokhlayeh@9104 | 51 rm -r $src/ncursesw-extra |
paul@5858 | 52 } |