wok-6.x annotate sockets/receipt @ rev 18204
Up openexr (2.2.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 15 10:18:19 2015 +0200 (2015-07-15) |
parents | 990f8bfa7b6d |
children | 17d335e6fd13 |
rev | line source |
---|---|
pascal@14167 | 1 # SliTaz package receipt. |
pascal@14167 | 2 |
pascal@14167 | 3 PACKAGE="sockets" |
pascal@14167 | 4 SOURCE="Sockets" |
pascal@14167 | 5 VERSION="2.3.9.7" |
pascal@14167 | 6 CATEGORY="development" |
pascal@14167 | 7 SHORT_DESC="C++ Sockets library." |
pascal@14167 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15593 | 9 LICENSE="GPL2" |
pascal@14167 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@14167 | 11 WEB_SITE="http://www.alhem.net/Sockets/" |
pascal@14167 | 12 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@14167 | 13 |
pascal@14167 | 14 DEPENDS="gcc-lib-base" |
pascal@14167 | 15 BUILD_DEPENDS="openssl-dev e2fsprogs-dev" |
pascal@14167 | 16 |
pascal@14167 | 17 # Rules to configure and make the package. |
pascal@14167 | 18 compile_rules() |
pascal@14167 | 19 { |
pascal@14167 | 20 cd $src |
pascal@14167 | 21 sed -i 's|/usr/local|/usr|' Makefile* |
pascal@14167 | 22 make && |
pascal@14167 | 23 make DESTDIR=$DESTDIR install |
pascal@14167 | 24 } |
pascal@14167 | 25 |
pascal@14167 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14167 | 27 genpkg_rules() |
pascal@14167 | 28 { |
pascal@14167 | 29 cp -a $install/usr $fs/ |
pascal@14167 | 30 } |