wok annotate xplc/receipt @ rev 18844

Slitaz Tic Tac Toe game
author Leonardo Laporte <hackdorte@sapo.pt>
date Fri Jan 22 21:35:30 2016 -0200 (2016-01-22)
parents b7319995b37e
children ad86373a4a8c
rev   line source
jozee@5098 1 # SliTaz package receipt.
jozee@5098 2
jozee@5098 3 PACKAGE="xplc"
jozee@5098 4 VERSION="0.3.13"
jozee@5098 5 CATEGORY="network"
jozee@5098 6 MAINTAINER="jozee@slitaz.org"
pascal@15579 7 LICENSE="LGPL2.1"
jozee@5098 8 SHORT_DESC="Cross-Platform Lightweight Components"
jozee@5098 9 WEB_SITE="http://xplc.sourceforge.net"
jozee@5098 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@5098 11 WGET_URL="$SF_MIRROR/xplc/$TARBALL"
jozee@5098 12 TAGS=""
jozee@5098 13
pascal@15579 14 DEPENDS="gcc-lib-base"
pascal@15579 15 BUILD_DEPENDS=""
pascal@15579 16
jozee@5098 17 # Rules to configure and make the package.
jozee@5098 18
jozee@5098 19 compile_rules() {
jozee@5098 20 cd $src
jozee@5098 21 ./configure --prefix=/usr --mandir=/usr/share/man \
gokhlayeh@11573 22 --without-libuuid $CONFIGURE_ARGS &&
jozee@5098 23 make &&
pascal@15579 24 make DESTDIR=$DESTDIR install
jozee@5098 25
jozee@5098 26 }
jozee@5098 27
jozee@5098 28 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@5098 29 genpkg_rules()
jozee@5098 30 {
jozee@5098 31 mkdir -p $fs/usr/lib/$PACKAGE-$VERSION
pascal@15579 32 cp -a $install/usr/bin $fs/usr
pascal@15579 33 cp -a $install/usr/lib/*so* $fs/usr/lib/
pascal@15579 34 cp -a $install/usr/lib/$PACKAGE-$VERSION/*so* $fs/usr/lib/$PACKAGE-$VERSION
jozee@5098 35 rm -f $fs/usr/bin/uuidgen
jozee@5098 36 }