wok diff linuxconsoletools/receipt @ rev 21874
facter: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 28 11:31:06 2019 +0200 (2019-09-28) |
parents | 86790a278e70 |
children | 577b0f540d17 |
line diff
1.1 --- a/linuxconsoletools/receipt Tue Aug 07 23:03:21 2018 +0200 1.2 +++ b/linuxconsoletools/receipt Sat Sep 28 11:31:06 2019 +0200 1.3 @@ -1,13 +1,14 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="linuxconsoletools" 1.7 -VERSION="1.4.5" 1.8 +VERSION="1.6.0" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Configure joysticks, or connect legacy input devices." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="GPL2" 1.13 +WEB_SITE="https://sourceforge.net/projects/linuxconsole/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 -WEB_SITE="https://sourceforge.net/projects/linuxconsole/" 1.17 WGET_URL="$SF_MIRROR/linuxconsole/$TARBALL" 1.18 1.19 DEPENDS="libsdl" 1.20 @@ -16,9 +17,8 @@ 1.21 # Rules to configure and make the package. 1.22 compile_rules() 1.23 { 1.24 - cd $src 1.25 export PREFIX=/usr 1.26 - make && 1.27 + make -j 1 && 1.28 make DESTDIR=$DESTDIR install 1.29 } 1.30 1.31 @@ -26,6 +26,7 @@ 1.32 genpkg_rules() 1.33 { 1.34 mkdir -p $fs/usr/share 1.35 - cp -a $install/usr/bin $fs/usr 1.36 - cp -a $install/usr/share/joystick $fs/usr/share 1.37 + 1.38 + cp -a $install/usr/bin $fs/usr 1.39 + cp -a $install/usr/share/joystick $fs/usr/share 1.40 }