wok-next diff xplc/receipt @ rev 20553
Up cookutils (1045), tazpkg (963)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 06 13:36:51 2018 +0300 (2018-04-06) |
parents | eb8067417980 |
children | 81b782d36618 |
line diff
1.1 --- a/xplc/receipt Sat Nov 30 10:06:29 2013 +0000 1.2 +++ b/xplc/receipt Fri Apr 06 13:36:51 2018 +0300 1.3 @@ -1,36 +1,37 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="xplc" 1.8 VERSION="0.3.13" 1.9 CATEGORY="network" 1.10 +SHORT_DESC="Cross-Platform Lightweight Components" 1.11 MAINTAINER="jozee@slitaz.org" 1.12 LICENSE="LGPL2.1" 1.13 -SHORT_DESC="Cross-Platform Lightweight Components" 1.14 WEB_SITE="http://xplc.sourceforge.net" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 WGET_URL="$SF_MIRROR/xplc/$TARBALL" 1.18 -TAGS="" 1.19 1.20 -DEPENDS="gcc-lib-base" 1.21 -BUILD_DEPENDS="" 1.22 - 1.23 -# Rules to configure and make the package. 1.24 +SPLIT="xplc-dev" 1.25 1.26 compile_rules() { 1.27 - cd $src 1.28 - ./configure --prefix=/usr --mandir=/usr/share/man \ 1.29 - --without-libuuid $CONFIGURE_ARGS && 1.30 - make && 1.31 - make DESTDIR=$DESTDIR install 1.32 + ./configure \ 1.33 + --prefix=/usr \ 1.34 + --mandir=/usr/share/man \ 1.35 + --without-libuuid \ 1.36 + $CONFIGURE_ARGS && 1.37 + make && 1.38 + make DESTDIR=$DESTDIR install 1.39 +} 1.40 1.41 +genpkg_rules() { 1.42 + case $PACKAGE in 1.43 + xplc) 1.44 + copy @std 1.45 + rm -f $fs/usr/bin/uuidgen 1.46 + DEPENDS="gcc-lib-base" 1.47 + ;; 1.48 + *-dev) 1.49 + copy @dev 1.50 + ;; 1.51 + esac 1.52 } 1.53 - 1.54 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.55 -genpkg_rules() 1.56 -{ 1.57 - mkdir -p $fs/usr/lib/$PACKAGE-$VERSION 1.58 - cp -a $install/usr/bin $fs/usr 1.59 - cp -a $install/usr/lib/*so* $fs/usr/lib/ 1.60 - cp -a $install/usr/lib/$PACKAGE-$VERSION/*so* $fs/usr/lib/$PACKAGE-$VERSION 1.61 - rm -f $fs/usr/bin/uuidgen 1.62 -}