wok-current annotate murrine/receipt @ rev 12674
murrine: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 01 13:30:13 2012 +0200 (2012-05-01) |
parents | b7319995b37e |
children | 7d6089953592 |
rev | line source |
---|---|
jozee@2842 | 1 # SliTaz package receipt. |
jozee@2842 | 2 |
jozee@2842 | 3 PACKAGE="murrine" |
slaxemulator@8113 | 4 VERSION="0.98.1.1" |
jozee@2842 | 5 CATEGORY="x-window" |
jozee@2842 | 6 SHORT_DESC="GTK2 engine to make your desktop look like a murrina" |
jozee@2842 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@2842 | 8 DEPENDS="pixman expat libgio gtk+" |
slaxemulator@8113 | 9 BUILD_DEPENDS="autoconf automake intltool libtool m4 gettext libgomp pixman-dev expat-dev libgio-dev gtk+-dev glibc-locale" |
slaxemulator@8113 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
gokhlayeh@11573 | 11 WEB_SITE="http://www.cimitan.com/murrine" |
slaxemulator@8113 | 12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/murrine/0.98/$TARBALL" |
jozee@2842 | 13 |
jozee@2842 | 14 # Rules to configure and make the package. |
jozee@2842 | 15 compile_rules() |
jozee@2842 | 16 { |
jozee@2842 | 17 cd $src |
pascal@12674 | 18 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|' |
slaxemulator@8113 | 19 #sed -i 's/1.10/1.11/g' autogen.sh |
gokhlayeh@11573 | 20 ./configure --prefix=/usr --enable-animation $CONFIGURE_ARGS && |
gokhlayeh@11573 | 21 make && |
jozee@2842 | 22 make DESTDIR=$PWD/_pkg install |
jozee@2842 | 23 } |
jozee@2842 | 24 |
jozee@2842 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2842 | 26 genpkg_rules() |
jozee@2842 | 27 { |
jozee@2842 | 28 mkdir -p $fs/usr/share $fs/usr/lib |
jozee@2842 | 29 cp -a $_pkg/usr/share $fs/usr |
jozee@2842 | 30 cp -a $_pkg/usr/lib $fs/usr |
jozee@2842 | 31 |
jozee@2842 | 32 } |
jozee@2842 | 33 |