wok-current annotate libunique/receipt @ rev 14718

lib[s-z]*: add LICENSE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 11 11:57:36 2013 +0200 (2013-06-11)
parents 4e1886a70bc2
children 69c80106a6af
rev   line source
erjo@4760 1 # SliTaz package receipt.
erjo@4760 2
erjo@4760 3 PACKAGE="libunique"
slaxemulator@6288 4 VERSION="1.1.6"
erjo@4760 5 CATEGORY="development"
erjo@4760 6 SHORT_DESC="Library for writing single instance application."
erjo@4760 7 MAINTAINER="erjo@slitaz.org"
pascal@14718 8 LICENSE="LGPL2.1"
slaxemulator@7089 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@4760 10 WEB_SITE="http://live.gnome.org/LibUnique"
slaxemulator@7089 11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@4760 12
pascal@14718 13 DEPENDS="gtk+ cairo dbus-glib"
pascal@14718 14 BUILD_DEPENDS="pkg-config gtk+-dev glib-dev gobject-introspection-dev perl expat-dev"
pascal@14718 15
erjo@4760 16 # Rules to configure and make the package.
erjo@4760 17 compile_rules()
erjo@4760 18 {
erjo@4760 19 cd $src
gokhlayeh@11438 20 patch -Np1 -i $stuff/remove_G_CONST_RETURN.patch
erjo@4760 21 ./configure \
erjo@4760 22 $CONFIGURE_ARGS &&
gokhlayeh@11438 23 make && make DESTDIR=$DESTDIR install
erjo@4760 24 }
erjo@4760 25
erjo@4760 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4760 27 genpkg_rules()
erjo@4760 28 {
erjo@4760 29 mkdir -p $fs/usr/lib
pascal@14718 30 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14718 31 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
erjo@4760 32 }
erjo@4760 33