# HG changeset patch # User Pascal Bellard # Date 1570293093 -7200 # Node ID e6a4cd87fdcb654e98030abff33a4134351ecd4d # Parent b367a52d48729cf4e514cfa32f18499e66af8dcb Add get-pcem-roms (again) diff -r b367a52d4872 -r e6a4cd87fdcb asciiquarium/receipt --- a/asciiquarium/receipt Sat Oct 05 17:33:56 2019 +0200 +++ b/asciiquarium/receipt Sat Oct 05 18:31:33 2019 +0200 @@ -15,13 +15,6 @@ DEPENDS="perl-animation perl-curses" -# Rules to configure and make the package. -compile_rules() -{ - mv ${PACKAGE}_${VERSION} $src 2> /dev/null - return 0 -} - # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r b367a52d4872 -r e6a4cd87fdcb ctorrent-dnh/receipt --- a/ctorrent-dnh/receipt Sat Oct 05 17:33:56 2019 +0200 +++ b/ctorrent-dnh/receipt Sat Oct 05 18:31:33 2019 +0200 @@ -13,8 +13,6 @@ # Rules to configure and make the package. compile_rules() { - mv ${PACKAGE}$VERSION $PACKAGE-$VERSION 2>/dev/null - cd $src ./configure \ --prefix=/usr \ --with-ssl=no \ diff -r b367a52d4872 -r e6a4cd87fdcb encfs/receipt --- a/encfs/receipt Sat Oct 05 17:33:56 2019 +0200 +++ b/encfs/receipt Sat Oct 05 18:31:33 2019 +0200 @@ -20,8 +20,6 @@ # Rules to configure and make the package. compile_rules() { - mv $PACKAGE-${VERSION%-*} $src 2> /dev/null - cd $src ./configure --prefix=/usr $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install diff -r b367a52d4872 -r e6a4cd87fdcb espeak/receipt --- a/espeak/receipt Sat Oct 05 17:33:56 2019 +0200 +++ b/espeak/receipt Sat Oct 05 18:31:33 2019 +0200 @@ -20,7 +20,6 @@ # Rules to configure and make the package. compile_rules() { - [ -d $src-source ] && mv $src-source $PACKAGE-$VERSION 2>/dev/null cd $src/src # Using portaudio v19 diff -r b367a52d4872 -r e6a4cd87fdcb get-pcem-roms/stuff/get-pcem-roms --- a/get-pcem-roms/stuff/get-pcem-roms Sat Oct 05 17:33:56 2019 +0200 +++ b/get-pcem-roms/stuff/get-pcem-roms Sat Oct 05 18:31:33 2019 +0200 @@ -4,8 +4,8 @@ WEB_SITE="https://github.com/BaRRaKudaRain/PCem-ROMs" ARCHIVE="$WEB_SITE/archive/v$VERSION.tar.gz" -mkdir -p /home/$USER/.pcem 2> /dev/null || -mv /home/$USER/.pcem/roms /home/$USER/.pcem/roms-old +mv -f /home/$USER/.pcem/roms /home/$USER/.pcem/roms-old || +mkdir -p /home/$USER/.pcem wget -O - $ARCHIVE | tar xzf - -C /home/$USER/.pcem/ mv /home/$USER/.pcem/PCem-ROMs-$VERSION /home/$USER/.pcem/roms chown -R $USER.users /home/$USER/.pcem diff -r b367a52d4872 -r e6a4cd87fdcb iat/receipt --- a/iat/receipt Sat Oct 05 17:33:56 2019 +0200 +++ b/iat/receipt Sat Oct 05 18:31:33 2019 +0200 @@ -21,10 +21,6 @@ # The src files are in a folder simply named iat. compile_rules() { - cd $src/.. - if test -d $PACKAGE ; then mv -f $PACKAGE $PACKAGE-$VERSION ; fi - - cd $src ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ diff -r b367a52d4872 -r e6a4cd87fdcb lsof/receipt --- a/lsof/receipt Sat Oct 05 17:33:56 2019 +0200 +++ b/lsof/receipt Sat Oct 05 18:31:33 2019 +0200 @@ -14,8 +14,6 @@ # Rules to configure and make the package. compile_rules() { - mv ${PACKAGE}_${VERSION} $src 2> /dev/null - cd $src if [ ! -d ${PACKAGE}_${VERSION}_src ]; then tar xf ${PACKAGE}_${VERSION}_src.tar fi diff -r b367a52d4872 -r e6a4cd87fdcb micro_proxy/receipt --- a/micro_proxy/receipt Sat Oct 05 17:33:56 2019 +0200 +++ b/micro_proxy/receipt Sat Oct 05 18:31:33 2019 +0200 @@ -14,8 +14,6 @@ # Rules to configure and make the package. compile_rules() { - mv $PACKAGE $PACKAGE-$VERSION 2> /dev/null - cd $src make } diff -r b367a52d4872 -r e6a4cd87fdcb nethogs/receipt --- a/nethogs/receipt Sat Oct 05 17:33:56 2019 +0200 +++ b/nethogs/receipt Sat Oct 05 18:31:33 2019 +0200 @@ -18,8 +18,6 @@ compile_rules() { sed -i 's|lncurses|& -ltinfo|' Makefile - mv $PACKAGE $PACKAGE-$VERSION 2>/dev/null - cd $src make } diff -r b367a52d4872 -r e6a4cd87fdcb netsurf/receipt --- a/netsurf/receipt Sat Oct 05 17:33:56 2019 +0200 +++ b/netsurf/receipt Sat Oct 05 18:31:33 2019 +0200 @@ -22,8 +22,6 @@ # Rules to configure and make the package. compile_rules() { - #mv netsurf $PACKAGE-$VERSION 2>/dev/null - cd $src cp -a $stuff/Makefile.config . # Fix install target diff -r b367a52d4872 -r e6a4cd87fdcb nvclock/receipt --- a/nvclock/receipt Sat Oct 05 17:33:56 2019 +0200 +++ b/nvclock/receipt Sat Oct 05 18:31:33 2019 +0200 @@ -14,17 +14,16 @@ BUILD_DEPENDS="autoconf automake" # Rules to configure and make the package. -compile_rules(){ - [ -d $PACKAGE$VERSION ] && mv $PACKAGE$VERSION $PACKAGE-$VERSION - cd $src - sed -i 's|prefix}/man|prefix}/share/man|' Makefile* +compile_rules() +{ + sed -i 's|prefix}/man|prefix}/share/man|' Makefile* autoreconf - patch -Np1 -i $stuff/$PACKAGE-$VERSION-install.patch - ./configure --prefix=/usr --bindir=/usr/bin && - make -j 1 && - make DESTDIR=$DESTDIR install + patch -Np1 -i $stuff/$PACKAGE-$VERSION-install.patch + ./configure --prefix=/usr --bindir=/usr/bin && + make -j 1 && + make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r b367a52d4872 -r e6a4cd87fdcb qtgain/receipt --- a/qtgain/receipt Sat Oct 05 17:33:56 2019 +0200 +++ b/qtgain/receipt Sat Oct 05 18:31:33 2019 +0200 @@ -16,9 +16,6 @@ # Rules to configure and make the package. compile_rules() { - # rename source directory - mv QtGain $PACKAGE-$VERSION 2> /dev/null - cd $src qmake && make } @@ -31,4 +28,3 @@ cp -a $stuff/* $fs chown -R root.root $fs } - diff -r b367a52d4872 -r e6a4cd87fdcb webkit-r/receipt --- a/webkit-r/receipt Sat Oct 05 17:33:56 2019 +0200 +++ b/webkit-r/receipt Sat Oct 05 18:31:33 2019 +0200 @@ -23,8 +23,6 @@ # Rules to configure and make the package. compile_rules() { - mv WebKit-r${VERSION} $PACKAGE-$VERSION 2>/dev/null - cd $src patch -p0 < $stuff/bison26.u patch -p1 < $stuff/CSSParser.cpp.u ./autogen.sh \ diff -r b367a52d4872 -r e6a4cd87fdcb xfig/receipt --- a/xfig/receipt Sat Oct 05 17:33:56 2019 +0200 +++ b/xfig/receipt Sat Oct 05 18:31:33 2019 +0200 @@ -18,8 +18,6 @@ # Rules to configure and make the package. compile_rules() { - mv $PACKAGE.$VERSION $src 2> /dev/null - cd $src sed -i 's|/usr/local|/usr|;s|#define XAW3D|XCOMM &|' Imakefile xmkmf && make && diff -r b367a52d4872 -r e6a4cd87fdcb xtrkcad/receipt --- a/xtrkcad/receipt Sat Oct 05 17:33:56 2019 +0200 +++ b/xtrkcad/receipt Sat Oct 05 18:31:33 2019 +0200 @@ -29,8 +29,6 @@ XTRKCAD_STUFF=$stuff - [ -d $PACKAGE-source-$VERSION ] && mv $PACKAGE-source-$VERSION $PACKAGE-$VERSION - cd $src sed -e 's|share/xtrkcad/locale|share/locale|g' -i CMakeLists.txt && cmake -D CMAKE_C_COMPILER:FILEPATH=${TOOLPREFIX}gcc \ -D CMAKE_CXX_COMPILER:FILEPATH=${TOOLPREFIX}c++ \