wok-next rev 19690
Up bwm-ng, startup-notification
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Apr 12 04:05:03 2017 +0300 (2017-04-12) |
parents | ab700369c193 |
children | 1bb2f73e5e1b |
files | bwm-ng/receipt startup-notification-dev/receipt startup-notification/receipt |
line diff
1.1 --- a/bwm-ng/receipt Wed Apr 12 01:53:29 2017 +0300 1.2 +++ b/bwm-ng/receipt Wed Apr 12 04:05:03 2017 +0300 1.3 @@ -6,27 +6,22 @@ 1.4 SHORT_DESC="Bandwidth Monitor NG." 1.5 MAINTAINER="pascal.bellard@slitaz.org" 1.6 LICENSE="GPL2" 1.7 +WEB_SITE="https://www.gropp.org/?id=projects&sub=bwm-ng" 1.8 + 1.9 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.10 -WEB_SITE="https://www.gropp.org/?id=projects&sub=bwm-ng" 1.11 WGET_URL="https://www.gropp.org/$PACKAGE/$TARBALL" 1.12 1.13 -DEPENDS="libtinfo" 1.14 +DEPENDS="ncurses" 1.15 BUILD_DEPENDS="ncurses-dev" 1.16 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 { 1.20 - export LDFLAGS="$LDFLAGS -ltinfo" 1.21 - ./configure --prefix=/usr \ 1.22 - --mandir=/usr/share/man \ 1.23 - $CONFIGURE_ARGS && 1.24 - make && 1.25 - make DESTDIR=$DESTDIR install 1.26 + ./configure $CONFIGURE_ARGS && make && make install 1.27 } 1.28 1.29 # Rules to gen a SliTaz package suitable for Tazpkg. 1.30 genpkg_rules() 1.31 { 1.32 - mkdir -p $fs/usr 1.33 - cp -a $install/usr/bin $fs/usr 1.34 + cook_copy_folders bin 1.35 }
2.1 --- a/startup-notification-dev/receipt Wed Apr 12 01:53:29 2017 +0300 2.2 +++ b/startup-notification-dev/receipt Wed Apr 12 04:05:03 2017 +0300 2.3 @@ -3,20 +3,18 @@ 2.4 PACKAGE="startup-notification-dev" 2.5 VERSION="0.12" 2.6 CATEGORY="development" 2.7 -SHORT_DESC="Startup notification protocol developpement files" 2.8 +SHORT_DESC="Startup notification protocol (development files)" 2.9 MAINTAINER="erjo@slitaz.org" 2.10 LICENSE="LGPL2" 2.11 -WANTED="startup-notification" 2.12 -WEB_SITE="http://freedesktop.org/software/startup-notification/releases/" 2.13 +WEB_SITE="https://www.freedesktop.org/wiki/Software/startup-notification/" 2.14 HOST_ARCH="i486 arm" 2.15 2.16 -DEPENDS="startup-notification pkg-config" 2.17 +WANTED="startup-notification" 2.18 +DEPENDS="startup-notification glibc-dev libxcb-dev xcb-util-dev \ 2.19 +xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev" 2.20 2.21 # Rules to gen a SliTaz package suitable for Tazpkg. 2.22 genpkg_rules() 2.23 { 2.24 - mkdir -p $fs/usr/lib 2.25 - cp -a $install/usr/lib/*.*a $fs/usr/lib 2.26 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 2.27 - cp -a $install/usr/include $fs/usr 2.28 + cook_copy_files *.h *.la *.pc 2.29 }
3.1 --- a/startup-notification/receipt Wed Apr 12 01:53:29 2017 +0300 3.2 +++ b/startup-notification/receipt Wed Apr 12 04:05:03 2017 +0300 3.3 @@ -6,27 +6,29 @@ 3.4 SHORT_DESC="Startup notification protocol" 3.5 MAINTAINER="erjo@slitaz.org" 3.6 LICENSE="LGPL2" 3.7 -TARBALL="$PACKAGE-$VERSION.tar.gz" 3.8 -WEB_SITE="http://freedesktop.org/software/startup-notification/releases/" 3.9 -WGET_URL="${WEB_SITE}$TARBALL" 3.10 +WEB_SITE="https://www.freedesktop.org/wiki/Software/startup-notification/" 3.11 HOST_ARCH="i486 arm" 3.12 3.13 -DEPENDS="xcb-util xorg-libSM xorg-libX11" 3.14 -BUILD_DEPENDS="util-linux-uuid-dev libxcb-dev xcb-util-dev" 3.15 +TARBALL="$PACKAGE-$VERSION.tar.gz" 3.16 +WGET_URL="http://www.freedesktop.org/software/startup-notification/releases/$TARBALL" 3.17 + 3.18 +DEPENDS="libxcb xcb-util xorg-libX11" 3.19 +BUILD_DEPENDS="xorg-libX11-dev xorg-libICE-dev libxcb-dev xcb-util-dev" 3.20 3.21 # Rules to configure and make the package. 3.22 compile_rules() 3.23 { 3.24 - export lf_cv_sane_realloc=yes 3.25 ./configure \ 3.26 - --prefix=/usr \ 3.27 + --disable-static \ 3.28 $CONFIGURE_ARGS && 3.29 - make && make install 3.30 + make && make install && 3.31 + 3.32 + install -v -m644 -D doc/startup-notification.txt \ 3.33 + $install/usr/share/doc/startup-notification-$VERSION/startup-notification.txt 3.34 } 3.35 3.36 # Rules to gen a SliTaz package suitable for Tazpkg. 3.37 genpkg_rules() 3.38 { 3.39 - mkdir -p $fs/usr/lib 3.40 - cp -a $install/usr/lib/*.so* $fs/usr/lib 3.41 + cook_copy_files *.so* 3.42 }