wok-next diff libstroke/receipt @ rev 20230
Up graphviz
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 06 05:30:08 2017 +0200 (2017-11-06) |
parents | 6eff489aa802 |
children | 5841522533ec |
line diff
1.1 --- a/libstroke/receipt Tue Jun 11 11:57:36 2013 +0200 1.2 +++ b/libstroke/receipt Mon Nov 06 05:30:08 2017 +0200 1.3 @@ -1,29 +1,33 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libstroke" 1.8 VERSION="0.5.1" 1.9 CATEGORY="system-tools" 1.10 -SHORT_DESC="Stroke translation library" 1.11 +SHORT_DESC="A stroke (mouse gesture) translation library" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="GPL2" 1.14 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 WEB_SITE="http://etla.net/libstroke/" 1.16 -WGET_URL="$WEB_SITE/$TARBALL" 1.17 1.18 -DEPENDS="" 1.19 -BUILD_DEPENDS="xorg-libX11-dev" 1.20 +TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" 1.21 +WGET_URL="http://archive.ubuntu.com/ubuntu/pool/universe/libs/libstroke/$TARBALL" 1.22 + 1.23 +BUILD_DEPENDS="patch gfortran xorg-libXt-dev" 1.24 +SPLIT="libstroke-dev" 1.25 1.26 # Rules to configure and make the package. 1.27 -compile_rules() 1.28 -{ 1.29 - cd $src 1.30 - ./configure --prefix=/usr $CONFIGURE_ARGS && 1.31 - make && make DESTDIR=$DESTDIR install 1.32 +compile_rules() { 1.33 + ./configure $CONFIGURE_ARGS && make && make install 1.34 } 1.35 1.36 # Rules to gen a SliTaz package suitable for Tazpkg. 1.37 -genpkg_rules() 1.38 -{ 1.39 - mkdir -p $fs/usr/lib 1.40 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.41 +genpkg_rules() { 1.42 + case $PACKAGE in 1.43 + libstroke) 1.44 + copy @std 1.45 + DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libxcb" 1.46 + ;; 1.47 + *-dev) 1.48 + copy @dev 1.49 + ;; 1.50 + esac 1.51 }