wok rev 21922

Add get-pcem-roms (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 05 18:31:33 2019 +0200 (2019-10-05)
parents b367a52d4872
children d01348e6aa1c
files asciiquarium/receipt ctorrent-dnh/receipt encfs/receipt espeak/receipt get-pcem-roms/stuff/get-pcem-roms iat/receipt lsof/receipt micro_proxy/receipt nethogs/receipt netsurf/receipt nvclock/receipt qtgain/receipt webkit-r/receipt xfig/receipt xtrkcad/receipt
line diff
     1.1 --- a/asciiquarium/receipt	Sat Oct 05 17:33:56 2019 +0200
     1.2 +++ b/asciiquarium/receipt	Sat Oct 05 18:31:33 2019 +0200
     1.3 @@ -15,13 +15,6 @@
     1.4  
     1.5  DEPENDS="perl-animation perl-curses"
     1.6  
     1.7 -# Rules to configure and make the package.
     1.8 -compile_rules()
     1.9 -{
    1.10 -	mv ${PACKAGE}_${VERSION} $src 2> /dev/null
    1.11 -	return 0
    1.12 -}
    1.13 -
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15  genpkg_rules()
    1.16  {
     2.1 --- a/ctorrent-dnh/receipt	Sat Oct 05 17:33:56 2019 +0200
     2.2 +++ b/ctorrent-dnh/receipt	Sat Oct 05 18:31:33 2019 +0200
     2.3 @@ -13,8 +13,6 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 -	mv ${PACKAGE}$VERSION $PACKAGE-$VERSION 2>/dev/null
     2.8 -	cd $src
     2.9  	./configure \
    2.10  		--prefix=/usr \
    2.11  		--with-ssl=no \
     3.1 --- a/encfs/receipt	Sat Oct 05 17:33:56 2019 +0200
     3.2 +++ b/encfs/receipt	Sat Oct 05 18:31:33 2019 +0200
     3.3 @@ -20,8 +20,6 @@
     3.4  # Rules to configure and make the package.
     3.5  compile_rules()
     3.6  {
     3.7 -	mv $PACKAGE-${VERSION%-*} $src 2> /dev/null
     3.8 -	cd $src
     3.9  	./configure --prefix=/usr $CONFIGURE_ARGS &&
    3.10  	make &&
    3.11  	make DESTDIR=$DESTDIR install
     4.1 --- a/espeak/receipt	Sat Oct 05 17:33:56 2019 +0200
     4.2 +++ b/espeak/receipt	Sat Oct 05 18:31:33 2019 +0200
     4.3 @@ -20,7 +20,6 @@
     4.4  # Rules to configure and make the package.
     4.5  compile_rules()
     4.6  {
     4.7 -	[ -d $src-source ] && mv $src-source $PACKAGE-$VERSION 2>/dev/null
     4.8  	cd $src/src
     4.9  	
    4.10  	# Using portaudio v19
     5.1 --- a/get-pcem-roms/stuff/get-pcem-roms	Sat Oct 05 17:33:56 2019 +0200
     5.2 +++ b/get-pcem-roms/stuff/get-pcem-roms	Sat Oct 05 18:31:33 2019 +0200
     5.3 @@ -4,8 +4,8 @@
     5.4  WEB_SITE="https://github.com/BaRRaKudaRain/PCem-ROMs"
     5.5  ARCHIVE="$WEB_SITE/archive/v$VERSION.tar.gz"
     5.6  
     5.7 -mkdir -p /home/$USER/.pcem 2> /dev/null ||
     5.8 -mv /home/$USER/.pcem/roms /home/$USER/.pcem/roms-old
     5.9 +mv -f /home/$USER/.pcem/roms /home/$USER/.pcem/roms-old ||
    5.10 +mkdir -p /home/$USER/.pcem
    5.11  wget -O - $ARCHIVE | tar xzf - -C /home/$USER/.pcem/
    5.12  mv /home/$USER/.pcem/PCem-ROMs-$VERSION /home/$USER/.pcem/roms
    5.13  chown -R $USER.users /home/$USER/.pcem
     6.1 --- a/iat/receipt	Sat Oct 05 17:33:56 2019 +0200
     6.2 +++ b/iat/receipt	Sat Oct 05 18:31:33 2019 +0200
     6.3 @@ -21,10 +21,6 @@
     6.4  # The src files are in a folder simply named iat.
     6.5  compile_rules()
     6.6  {
     6.7 -	cd $src/..
     6.8 -	if test -d $PACKAGE ; then mv -f $PACKAGE $PACKAGE-$VERSION ; fi
     6.9 -
    6.10 -	cd $src
    6.11  	./configure				\
    6.12  		--prefix=/usr			\
    6.13  		--mandir=/usr/share/man		\
     7.1 --- a/lsof/receipt	Sat Oct 05 17:33:56 2019 +0200
     7.2 +++ b/lsof/receipt	Sat Oct 05 18:31:33 2019 +0200
     7.3 @@ -14,8 +14,6 @@
     7.4  # Rules to configure and make the package.
     7.5  compile_rules()
     7.6  {
     7.7 -	mv ${PACKAGE}_${VERSION} $src 2> /dev/null
     7.8 -	cd $src
     7.9  	if [ ! -d ${PACKAGE}_${VERSION}_src ]; then
    7.10  		tar xf ${PACKAGE}_${VERSION}_src.tar
    7.11  	fi
     8.1 --- a/micro_proxy/receipt	Sat Oct 05 17:33:56 2019 +0200
     8.2 +++ b/micro_proxy/receipt	Sat Oct 05 18:31:33 2019 +0200
     8.3 @@ -14,8 +14,6 @@
     8.4  # Rules to configure and make the package.
     8.5  compile_rules()
     8.6  {
     8.7 -	mv $PACKAGE $PACKAGE-$VERSION 2> /dev/null
     8.8 -	cd $src
     8.9  	make
    8.10  }
    8.11  
     9.1 --- a/nethogs/receipt	Sat Oct 05 17:33:56 2019 +0200
     9.2 +++ b/nethogs/receipt	Sat Oct 05 18:31:33 2019 +0200
     9.3 @@ -18,8 +18,6 @@
     9.4  compile_rules()
     9.5  {
     9.6  	sed -i 's|lncurses|& -ltinfo|' Makefile
     9.7 -	mv $PACKAGE $PACKAGE-$VERSION 2>/dev/null
     9.8 -	cd $src
     9.9  	make 
    9.10  }
    9.11  
    10.1 --- a/netsurf/receipt	Sat Oct 05 17:33:56 2019 +0200
    10.2 +++ b/netsurf/receipt	Sat Oct 05 18:31:33 2019 +0200
    10.3 @@ -22,8 +22,6 @@
    10.4  # Rules to configure and make the package.
    10.5  compile_rules()
    10.6  {
    10.7 -	#mv netsurf $PACKAGE-$VERSION 2>/dev/null
    10.8 -	cd $src
    10.9  	cp -a $stuff/Makefile.config .
   10.10  	
   10.11  	# Fix install target
    11.1 --- a/nvclock/receipt	Sat Oct 05 17:33:56 2019 +0200
    11.2 +++ b/nvclock/receipt	Sat Oct 05 18:31:33 2019 +0200
    11.3 @@ -14,17 +14,16 @@
    11.4  BUILD_DEPENDS="autoconf automake"
    11.5  
    11.6  # Rules to configure and make the package.
    11.7 -compile_rules(){
    11.8 -  [ -d $PACKAGE$VERSION ] && mv $PACKAGE$VERSION $PACKAGE-$VERSION
    11.9 -  cd $src
   11.10 -  sed -i 's|prefix}/man|prefix}/share/man|' Makefile*
   11.11 +compile_rules()
   11.12 +{
   11.13 +	sed -i 's|prefix}/man|prefix}/share/man|' Makefile*
   11.14  
   11.15  	autoreconf
   11.16  
   11.17 -   patch -Np1 -i $stuff/$PACKAGE-$VERSION-install.patch 
   11.18 -  ./configure --prefix=/usr --bindir=/usr/bin &&
   11.19 -  make -j 1 &&
   11.20 -  make DESTDIR=$DESTDIR install 
   11.21 +	patch -Np1 -i $stuff/$PACKAGE-$VERSION-install.patch 
   11.22 +	./configure --prefix=/usr --bindir=/usr/bin &&
   11.23 +	make -j 1 &&
   11.24 +	make DESTDIR=$DESTDIR install 
   11.25  }
   11.26  	
   11.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    12.1 --- a/qtgain/receipt	Sat Oct 05 17:33:56 2019 +0200
    12.2 +++ b/qtgain/receipt	Sat Oct 05 18:31:33 2019 +0200
    12.3 @@ -16,9 +16,6 @@
    12.4  # Rules to configure and make the package.
    12.5  compile_rules()
    12.6  {
    12.7 -	# rename source directory
    12.8 -	mv QtGain $PACKAGE-$VERSION 2> /dev/null
    12.9 -	cd $src
   12.10  	qmake && make
   12.11  }
   12.12  
   12.13 @@ -31,4 +28,3 @@
   12.14  	cp -a $stuff/* $fs
   12.15  	chown -R root.root $fs
   12.16  }
   12.17 -
    13.1 --- a/webkit-r/receipt	Sat Oct 05 17:33:56 2019 +0200
    13.2 +++ b/webkit-r/receipt	Sat Oct 05 18:31:33 2019 +0200
    13.3 @@ -23,8 +23,6 @@
    13.4  # Rules to configure and make the package.
    13.5  compile_rules()
    13.6  {
    13.7 -	mv WebKit-r${VERSION} $PACKAGE-$VERSION 2>/dev/null
    13.8 -	cd $src
    13.9  	patch -p0 < $stuff/bison26.u
   13.10  	patch -p1 < $stuff/CSSParser.cpp.u
   13.11  	./autogen.sh \
    14.1 --- a/xfig/receipt	Sat Oct 05 17:33:56 2019 +0200
    14.2 +++ b/xfig/receipt	Sat Oct 05 18:31:33 2019 +0200
    14.3 @@ -18,8 +18,6 @@
    14.4  # Rules to configure and make the package.
    14.5  compile_rules()
    14.6  {
    14.7 -	mv $PACKAGE.$VERSION $src 2> /dev/null
    14.8 -	cd $src
    14.9  	sed -i 's|/usr/local|/usr|;s|#define XAW3D|XCOMM &|' Imakefile
   14.10  	xmkmf &&
   14.11  	make &&
    15.1 --- a/xtrkcad/receipt	Sat Oct 05 17:33:56 2019 +0200
    15.2 +++ b/xtrkcad/receipt	Sat Oct 05 18:31:33 2019 +0200
    15.3 @@ -29,8 +29,6 @@
    15.4  	
    15.5  	XTRKCAD_STUFF=$stuff
    15.6  	
    15.7 -	[ -d $PACKAGE-source-$VERSION ] && mv $PACKAGE-source-$VERSION $PACKAGE-$VERSION
    15.8 -	cd $src
    15.9  	sed -e 's|share/xtrkcad/locale|share/locale|g' -i CMakeLists.txt &&
   15.10  	cmake -D CMAKE_C_COMPILER:FILEPATH=${TOOLPREFIX}gcc \
   15.11  		-D CMAKE_CXX_COMPILER:FILEPATH=${TOOLPREFIX}c++ \