wok diff x265/receipt @ rev 25466

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 01 09:32:27 2022 +0000 (20 months ago)
parents 535c806240cc
children
line diff
     1.1 --- a/x265/receipt	Thu Feb 17 12:02:46 2022 +0000
     1.2 +++ b/x265/receipt	Sat Oct 01 09:32:27 2022 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="x265"
     1.7 -VERSION="3.2"
     1.8 +VERSION="3.5"
     1.9  CATEGORY="multimedia"
    1.10  MAINTAINER="pascal.bellard@slitaz.org"
    1.11  LICENSE="GPL2"
    1.12 @@ -9,7 +9,7 @@
    1.13  WEB_SITE="https://www.videolan.org/developers/x265.html"
    1.14  
    1.15  TARBALL="${PACKAGE}_$VERSION.tar.gz"
    1.16 -WGET_URL="http://ftp.videolan.org/pub/videolan/x265/$TARBALL"
    1.17 +WGET_URL="https://bitbucket.org/multicoreware/${PACKAGE}_git/downloads/$TARBALL"
    1.18  
    1.19  DEPENDS="glibc-base"
    1.20  BUILD_DEPENDS="cmake nasm"
    1.21 @@ -27,16 +27,15 @@
    1.22  compile_rules()
    1.23  {
    1.24  	cd $src/build
    1.25 -	cmake -DCMAKE_INSTALL_PREFIX=/usr ../source &&
    1.26 +	cmake	../source			\
    1.27 +		-D CMAKE_INSTALL_PREFIX=/usr &&
    1.28  	make &&
    1.29 -	make DESTDIR=$DESTDIR install
    1.30 +	make install DESTDIR=$DESTDIR
    1.31  }
    1.32  
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.34  genpkg_rules()
    1.35  {
    1.36 -	mkdir -p $fs/usr/lib
    1.37 -
    1.38 -	cp -a $install/usr/bin		$fs/usr
    1.39 -	cp -a $install/usr/lib/*so*	$fs/usr/lib/
    1.40 +	cook_copy_folders	bin
    1.41 +	cook_copy_files		*.so*
    1.42  }