wok-next diff libunique/receipt @ rev 20302
Up gnustep-make (2.7.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 10 11:12:26 2017 +0100 (2017-11-10) |
parents | f463de72afe3 |
children | c4e53a39395a |
line diff
1.1 --- a/libunique/receipt Sun Jun 18 04:38:10 2017 +0300 1.2 +++ b/libunique/receipt Fri Nov 10 11:12:26 2017 +0100 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="libunique" 1.8 VERSION="1.1.6" 1.9 @@ -12,26 +12,20 @@ 1.10 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 1.12 1.13 -DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ harfbuzz \ 1.14 -libffi liblzma libpng libxcb libxml2 pango pcre pixman xorg-libX11 \ 1.15 -xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender zlib" 1.16 -BUILD_DEPENDS="automake glib-dev gettext libtool gtk+-dev xorg-libICE-dev \ 1.17 -gobject-introspection-dev gtk-doc" 1.18 BUILD_DEPENDS_arm="cairo-dev gtk+-dev glib-dev expat-dev" 1.19 - 1.20 -case "$ARCH" in 1.21 - arm*) BUILD_DEPENDS="$BUILD_DEPENDS_arm";; 1.22 -esac 1.23 +BUILD_DEPENDS="patch automake glib-dev gettext libtool gtk+-dev \ 1.24 +xorg-libICE-dev gobject-introspection-dev gtk-doc" 1.25 +SPLIT="libunique-dev" 1.26 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 { 1.30 - while read i; do patch -p1 -i $stuff/patches/$i; done < $stuff/patches/series 1.31 - 1.32 + # http://www.linuxfromscratch.org/blfs/view/stable/general/libunique.html 1.33 autoreconf -fi && 1.34 ./configure \ 1.35 --disable-dbus \ 1.36 --disable-static \ 1.37 + --disable-debug \ 1.38 $CONFIGURE_ARGS && 1.39 make && make install 1.40 } 1.41 @@ -39,5 +33,23 @@ 1.42 # Rules to gen a SliTaz package suitable for Tazpkg. 1.43 genpkg_rules() 1.44 { 1.45 - copy *.so* 1.46 + case $PACKAGE in 1.47 + libunique) 1.48 + copy @std 1.49 + DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \ 1.50 + libffi libharfbuzz liblzma libpng16 libxml2 pango pcre \ 1.51 + util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \ 1.52 + xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \ 1.53 + xorg-pixman zlib" 1.54 + ;; 1.55 + *-dev) 1.56 + copy @dev 1.57 + DEPENDS="libunique atk-dev bzip2-dev cairo-dev fontconfig-dev \ 1.58 + freetype-dev gdk-pixbuf-dev glib-dev gtk+-dev harfbuzz-dev \ 1.59 + libffi-dev libpng16-dev libxml2-dev pango-dev pcre-dev \ 1.60 + util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \ 1.61 + xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \ 1.62 + xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev" 1.63 + ;; 1.64 + esac 1.65 }