wok-6.x rev 8898
Fix screen/screen-pam
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Feb 27 23:33:47 2011 +0100 (2011-02-27) |
parents | 4b74d9c764d4 |
children | e2730f1e9d67 |
files | screen-pam/receipt screen/receipt |
line diff
1.1 --- a/screen-pam/receipt Sun Feb 27 23:21:20 2011 +0100 1.2 +++ b/screen-pam/receipt Sun Feb 27 23:33:47 2011 +0100 1.3 @@ -11,7 +11,7 @@ 1.4 WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL" 1.5 CONFIG_FILES="/etc/screenrc" 1.6 DEPENDS="pam" 1.7 -BUILD_DEPENDS="ncurses-extra pam pam-dev" 1.8 +BUILD_DEPENDS="ncursesw-extra pam pam-dev" 1.9 SUGGESTED="screen-terminfo" 1.10 PROVIDE="screen:pam" 1.11 SRC_WANTED="$SOURCE" 1.12 @@ -20,19 +20,20 @@ 1.13 compile_rules() 1.14 { 1.15 cd $src 1.16 - ./configure --prefix=/usr --infodir=/usr/share/info --enable-pam \ 1.17 - --mandir=/usr/share/man $CONFIGURE_ARGS && 1.18 + ./configure --enable-pam && 1.19 make && 1.20 - make DESTDIR=$PWD/_pkg install || return 1 1.21 - mkdir -p _pkg/usr/share/terminfo 1.22 - tic -o $PWD/_pkg/usr/share/terminfo terminfo/screeninfo.src 1.23 + make -j1 DESTDIR=$DESTDIR install && 1.24 + mkdir -p $DESTDIR/usr/share/terminfo && 1.25 + tic -o $DESTDIR/usr/share/terminfo terminfo/screeninfo.src && 1.26 + mkdir -p $DESTDIR/etc && 1.27 + cp $src/etc/screenrc $DESTDIR/etc 1.28 } 1.29 1.30 # Rules to gen a SliTaz package suitable for Tazpkg. 1.31 genpkg_rules() 1.32 { 1.33 - mkdir -p $fs/usr/bin $fs/usr/share $fs/etc 1.34 - cp $src/etc/screenrc $fs/etc 1.35 + mkdir -p $fs/usr/bin $fs/usr/share 1.36 + cp $_pkg/etc $fs 1.37 cp -a $_pkg/usr/bin/screen-$VERSION $fs/usr/bin/screen 1.38 cp -a $_pkg/usr/share/screen $fs/usr/share 1.39 }
2.1 --- a/screen/receipt Sun Feb 27 23:21:20 2011 +0100 2.2 +++ b/screen/receipt Sun Feb 27 23:33:47 2011 +0100 2.3 @@ -9,7 +9,6 @@ 2.4 WEB_SITE="http://www.gnu.org/software/screen" 2.5 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 2.6 CONFIG_FILES="/etc/screenrc" 2.7 -DEPENDS="elfutils" 2.8 BUILD_DEPENDS="ncursesw-extra" 2.9 SUGGESTED="screen-terminfo" 2.10 2.11 @@ -30,5 +29,6 @@ 2.12 mkdir -p $fs/usr/bin $fs/usr/share 2.13 cp -a $_pkg/usr/bin/screen-$VERSION $fs/usr/bin/screen 2.14 cp -a $_pkg/usr/share/screen $fs/usr/share 2.15 + cp -a $_pkg/etc $fs 2.16 } 2.17