wok-next diff sockets/receipt @ rev 21037

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Nov 06 16:35:54 2018 +0200 (2018-11-06)
parents 3b4e4318134e
children 52cd088b3252
line diff
     1.1 --- a/sockets/receipt	Tue Dec 03 18:28:51 2013 +0000
     1.2 +++ b/sockets/receipt	Tue Nov 06 16:35:54 2018 +0200
     1.3 @@ -1,30 +1,26 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="sockets"
     1.8 -SOURCE="Sockets"
     1.9  VERSION="2.3.9.7"
    1.10  CATEGORY="development"
    1.11 -SHORT_DESC="C++ Sockets library."
    1.12 +SHORT_DESC="C++ Sockets library"
    1.13  MAINTAINER="pascal.bellard@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.16  WEB_SITE="http://www.alhem.net/Sockets/"
    1.17 +
    1.18 +TARBALL="Sockets-$VERSION.tar.gz"
    1.19  WGET_URL="${WEB_SITE}$TARBALL"
    1.20  
    1.21 -DEPENDS="gcc-lib-base"
    1.22  BUILD_DEPENDS="openssl-dev e2fsprogs-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	cd $src
    1.28 +compile_rules() {
    1.29  	sed -i 's|/usr/local|/usr|' Makefile*
    1.30 +
    1.31  	make &&
    1.32 -	make DESTDIR=$DESTDIR install
    1.33 +	make DESTDIR=$install install
    1.34  }
    1.35  
    1.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 -genpkg_rules()
    1.38 -{
    1.39 +genpkg_rules() {
    1.40  	cp -a $install/usr $fs/
    1.41 +	DEPENDS="gcc-lib-base"
    1.42  }