wok-next view libunique/receipt @ rev 15357
gcc+gcj: replace mkdir_p in shell script
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 01 10:32:37 2013 +0000 (2013-10-01) |
parents | 4e1886a70bc2 |
children | 69c80106a6af |
line source
1 # SliTaz package receipt.
3 PACKAGE="libunique"
4 VERSION="1.1.6"
5 CATEGORY="development"
6 SHORT_DESC="Library for writing single instance application."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://live.gnome.org/LibUnique"
11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ cairo dbus-glib"
14 BUILD_DEPENDS="pkg-config gtk+-dev glib-dev gobject-introspection-dev perl expat-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 patch -Np1 -i $stuff/remove_G_CONST_RETURN.patch
21 ./configure \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
32 }