wok-next annotate vanessa_socket/receipt @ rev 20533
cairo-clock, grub4dos: fix CFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 27 12:50:45 2018 +0200 (2018-03-27) |
parents | 4303f41bd245 |
children | 10df65db91ad |
rev | line source |
---|---|
al@20456 | 1 # SliTaz package receipt v2. |
pascal@1215 | 2 |
pascal@1215 | 3 PACKAGE="vanessa_socket" |
pascal@18804 | 4 VERSION="0.0.12" |
pascal@1215 | 5 CATEGORY="network" |
al@20456 | 6 SHORT_DESC="Simplifies TCP/IP socket operations" |
pascal@1215 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15363 | 8 LICENSE="LGPL2.1" |
al@20456 | 9 WEB_SITE="http://www.vergenet.net/linux/vanessa" |
al@20456 | 10 |
pascal@18805 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@1215 | 12 WGET_URL="$WEB_SITE/download/$PACKAGE/$VERSION/$TARBALL" |
pascal@15363 | 13 |
pascal@1215 | 14 BUILD_DEPENDS="vanessa_logger-dev vanessa_logger popt-dev" |
al@20456 | 15 SPLIT="vanessa_socket-dev" |
pascal@1215 | 16 |
al@20456 | 17 compile_rules() { |
al@20456 | 18 ./configure \ |
al@20456 | 19 --prefix=/usr \ |
al@20456 | 20 --infodir=/usr/share/info \ |
al@20456 | 21 --mandir=/usr/share/man \ |
al@20456 | 22 $CONFIGURE_ARGS && |
al@20456 | 23 make && |
pascal@15363 | 24 make DESTDIR=$DESTDIR install |
pascal@1215 | 25 } |
pascal@1215 | 26 |
al@20456 | 27 genpkg_rules() { |
al@20456 | 28 case $PACKAGE in |
al@20456 | 29 vanessa_socket) |
al@20456 | 30 copy @std |
al@20456 | 31 DEPENDS="vanessa_logger popt" |
al@20456 | 32 ;; |
al@20456 | 33 *-dev) |
al@20456 | 34 copy @dev |
al@20456 | 35 ;; |
al@20456 | 36 esac |
pascal@1215 | 37 } |