wok-next annotate screen-pam/receipt @ rev 6691
Added libogg to libogg-dev depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Oct 12 22:48:09 2010 +0000 (2010-10-12) |
parents | 254a44e9a5b4 |
children | 9689c3977b8c |
rev | line source |
---|---|
pascal@2221 | 1 # SliTaz package receipt. |
pascal@2221 | 2 |
pascal@2221 | 3 PACKAGE="screen-pam" |
pascal@2221 | 4 VERSION="4.0.3" |
pascal@2221 | 5 CATEGORY="system-tools" |
pascal@2221 | 6 SHORT_DESC="Terminal multiplexer with PAM support." |
pascal@2221 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2221 | 8 SOURCE="screen" |
pascal@2221 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2221 | 10 WEB_SITE="http://www.gnu.org/software/screen" |
pascal@2221 | 11 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" |
pascal@2221 | 12 CONFIG_FILES="/etc/screenrc" |
pascal@2221 | 13 DEPENDS="pam" |
pascal@2221 | 14 BUILD_DEPENDS="ncurses-extra pam pam-dev" |
pascal@2221 | 15 SUGGESTED="screen-terminfo" |
pascal@2221 | 16 PROVIDE="screen:pam" |
pascal@2221 | 17 |
pascal@2221 | 18 # Rules to configure and make the package. |
pascal@2221 | 19 compile_rules() |
pascal@2221 | 20 { |
pascal@2221 | 21 cd $src |
pascal@2221 | 22 ./configure --prefix=/usr --infodir=/usr/share/info --enable-pam \ |
pascal@2221 | 23 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2221 | 24 make && |
pascal@2221 | 25 make DESTDIR=$PWD/_pkg install || return 1 |
pascal@2221 | 26 mkdir -p _pkg/usr/share/terminfo |
pascal@2221 | 27 tic -o $PWD/_pkg/usr/share/terminfo terminfo/screeninfo.src |
pascal@2221 | 28 } |
pascal@2221 | 29 |
pascal@2221 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2221 | 31 genpkg_rules() |
pascal@2221 | 32 { |
pascal@2221 | 33 mkdir -p $fs/usr/bin $fs/usr/share $fs/etc |
pascal@2221 | 34 cp $src/etc/screenrc $fs/etc |
pascal@2221 | 35 cp -a $_pkg/usr/bin/screen-$VERSION $fs/usr/bin/screen |
pascal@2221 | 36 cp -a $_pkg/usr/share/screen $fs/usr/share |
pascal@2221 | 37 } |
pascal@2221 | 38 |