wok-next diff lxlauncher/receipt @ rev 20748
Update (b)deps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed May 30 20:13:48 2018 +0300 (2018-05-30) |
parents | 7639f09792cf |
children | 8b5b2a6d07b8 |
line diff
1.1 --- a/lxlauncher/receipt Wed Feb 28 13:56:24 2018 +0200 1.2 +++ b/lxlauncher/receipt Wed May 30 20:13:48 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="lxlauncher" 1.8 VERSION="0.2.4" 1.9 @@ -6,51 +6,27 @@ 1.10 SHORT_DESC="LXDE launcher for netbooks" 1.11 LICENSE="GPL3" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 +WEB_SITE="https://wiki.lxde.org/en/LXLauncher" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.16 -WEB_SITE="https://wiki.lxde.org/en/LXLauncher" 1.17 WGET_URL="$SF_MIRROR/lxde/$TARBALL" 1.18 -TAGS="LXDE netbook" 1.19 1.20 -DEPENDS="xorg-libX11 gtk+ gnome-menus startup-notification menu-cache xorg-libXdamage" 1.21 BUILD_DEPENDS="xorg-libX11-dev gtk+-dev gnome-menus gnome-menus-dev \ 1.22 menu-cache-dev startup-notification-dev startup-notification xorg-libxcb-dev \ 1.23 intltool" 1.24 1.25 -# Rules to configure and make the package. 1.26 -compile_rules() 1.27 -{ 1.28 - #export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" 1.29 - ## Fix infinite loop. 1.30 - #touch po/stamp-it 1.31 - ## Default icons to 32 1.32 - #sed -i s/'120'/'100'/ src/lxlauncher.c 1.33 - #sed -i s/'48'/'32'/ src/lxlauncher.c 1.34 - ./configure \ 1.35 - --prefix=/usr \ 1.36 - --sysconfdir=/etc \ 1.37 - $CONFIGURE_ARGS && 1.38 +compile_rules() { 1.39 + ./configure $CONFIGURE_ARGS && 1.40 make && 1.41 - make DESTDIR=$DESTDIR install 1.42 + make DESTDIR=$DESTDIR install || return 1 1.43 + 1.44 + # SliTaz homemade config file 1.45 + install -Dm644 $stuff/gtkrc $install/etc/xdg/lxlauncher/gtkrc 1.46 } 1.47 1.48 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.49 -genpkg_rules() 1.50 -{ 1.51 - mkdir -p $fs/usr/share 1.52 - 1.53 - cp -a $install/usr/bin $fs/usr 1.54 - 1.55 - # SliTaz home make config files 1.56 - cp -a $install/etc $fs 1.57 - cp -a $stuff/gtkrc $fs/etc/xdg/lxlauncher 1.58 - 1.59 - cp -a $install/usr/share/desktop-directories $fs/usr/share 1.60 - 1.61 - #cp -a $stuff/background $fs/usr/share/lxlauncher 1.62 - #background="internet learn play settings work" 1.63 - #for i in $background; do 1.64 - # ln -sf slitaz.jpg $fs/usr/share/lxlauncher/background/accessibility_${i}_wallpaper.jpg 1.65 - #done 1.66 - 1.67 - chown -R root.root $fs 1.68 +genpkg_rules() { 1.69 + copy @std 1.70 + DEPENDS="xorg-libX11 gtk+ gnome-menus startup-notification menu-cache \ 1.71 + xorg-libXdamage" 1.72 + TAGS="LXDE netbook" 1.73 }