wok-next diff moserial/receipt @ rev 20599
More fix libtool
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Apr 17 00:06:41 2018 +0300 (2018-04-17) |
parents | 757d032c55c7 |
children | d6378d455338 |
line diff
1.1 --- a/moserial/receipt Fri Mar 30 19:31:50 2018 +0300 1.2 +++ b/moserial/receipt Tue Apr 17 00:06:41 2018 +0300 1.3 @@ -1,44 +1,32 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="moserial" 1.8 VERSION="2.32.1" 1.9 CATEGORY="utilities" 1.10 -SHORT_DESC="A gtk-based serial console." 1.11 +SHORT_DESC="A GTK-based serial console" 1.12 MAINTAINER="domcox@slitaz.org" 1.13 LICENSE="GPL3" 1.14 +WEB_SITE="https://live.gnome.org/moserial" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 -WEB_SITE="https://live.gnome.org/moserial" 1.18 -WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL" 1.19 -LOCALES="da de es fr pt_BR zh_CN" 1.20 -TAGS="serial console" 1.21 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 1.22 1.23 -DEPENDS="GConf gtk+" 1.24 BUILD_DEPENDS="GConf-dev gnome-doc-utils intltool vala gtk+-dev" 1.25 1.26 -# Rules to configure and make the package. 1.27 -compile_rules() 1.28 -{ 1.29 +compile_rules() { 1.30 # removing help 1.31 patch -Np3 -i $stuff/glade.patch 1.32 - # build 1.33 - ./configure $CONFIGURE_ARGS \ 1.34 + 1.35 + ./configure \ 1.36 --disable-scrollkeeper \ 1.37 - --prefix="/usr" && 1.38 + $CONFIGURE_ARGS && 1.39 + fix libtool && 1.40 make && 1.41 make DESTDIR=$DESTDIR install 1.42 } 1.43 1.44 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.45 -# 1.46 -genpkg_rules() 1.47 -{ 1.48 - mkdir -p $fs/usr/share/pixmaps $fs/usr/share/locale 1.49 - cp -a $install/usr/bin $fs/usr 1.50 - cp -a $install/usr/share/moserial $fs/usr/share 1.51 - cp -a $install/usr/share/icons/hicolor/48x48/apps/moserial.png \ 1.52 - $fs/usr/share/pixmaps 1.53 - for locale in $LOCALES; do 1.54 - cp -a $install/usr/share/locale/$locale $fs/usr/share/locale 1.55 - done 1.56 - chown -R root.root $fs 1.57 +genpkg_rules() { 1.58 + copy @std *.mo 1.59 + DEPENDS="GConf gtk+" 1.60 + TAGS="serial console" 1.61 }