wok-stable view tmux/receipt @ rev 7666

Moved Module.sysvers to Module.sysvers-modules. This is cause i think making linux-without-modules bzImage is was change that file. Removed /usr/src/linux in pre_remove function in linux-module-headers. Added /usr/src/linux soft link to post_install in linux-module-headers.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 12:59:54 2010 +0000 (2010-12-16)
parents ee824f87f3d6
children ae75a1adf8ca
line source
1 # SliTaz package receipt.
3 PACKAGE="tmux"
4 VERSION="1.3"
5 CATEGORY="utilities"
6 SHORT_DESC="Terminal multiplexer."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="ncurses libevent"
9 BUILD_DEPENDS="ncurses-dev libevent libevent-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://tmux.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
19 # hack GNUmakefile
20 sed -i 's/install -g bin/install -g root/g' GNUmakefile
22 ./configure \
23 --prefix=/usr # not working?
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/tmux
31 cp -a $_pkg/usr/local/bin $fs/usr
33 # copy sample configs
34 cp -a $src/examples $fs/usr/share/tmux
35 }