wok-current annotate esmart/receipt @ rev 5693

Up: xfce4-taskmanager (1.0.0)
author Alexander Medvedev <devl547@gmail.com>
date Wed Jun 16 19:47:46 2010 +0000 (2010-06-16)
parents a11358feced4
children 74e0a6e3f8be
rev   line source
pankso@2914 1 # SliTaz package receipt.
pankso@2914 2
pankso@2914 3 PACKAGE="esmart"
pankso@4302 4 VERSION="42373"
pankso@2914 5 CATEGORY="x-window"
pankso@2914 6 SHORT_DESC="A collection of evas smart objects."
pankso@2914 7 MAINTAINER="pankso@slitaz.org"
pascal@5000 8 DEPENDS="cairo evas ecore embryo edje imlib2 libtool xorg-libXss libcurl \
pascal@5026 9 xorg-libXp libgpg-error xorg-libXtst libtasn1"
pankso@2914 10 BUILD_DEPENDS="cairo-dev evas-dev"
pankso@2914 11 WEB_SITE="http://www.enlightenment.org/"
pankso@2914 12
pankso@2914 13 # Rules to configure and make the package.
pankso@2914 14 compile_rules()
pankso@2914 15 {
pankso@2914 16 [ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
pascal@5560 17 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-svn-$VERSION.tar.gz
pascal@5560 18 if [ -f $TARBALL ]; then
pascal@5560 19 tar xzf $TARBALL
pascal@5560 20 else
pascal@5565 21 svn co http://svn.enlightenment.org/svn/e/OLD/$PACKAGE \
pascal@5563 22 -r $VERSION $PACKAGE-$VERSION &&
pascal@5560 23 tar czf $TARBALL $PACKAGE-$VERSION
pascal@5560 24 fi
pankso@2914 25 cd $src
pankso@2914 26 ./autogen.sh \
pankso@2914 27 --prefix=/usr \
pankso@2914 28 --mandir=/usr/share/man \
pankso@2914 29 $CONFIGURE_ARGS &&
pankso@2914 30 make &&
pankso@2914 31 make DESTDIR=$PWD/_pkg install
pankso@2914 32 }
pankso@2914 33
pankso@2914 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2914 35 genpkg_rules()
pankso@2914 36 {
pankso@2914 37 mkdir -p $fs/usr/lib
pankso@2914 38 cp -a $_pkg/usr/bin $fs/usr
pankso@2914 39 cp -a $_pkg/usr/share $fs/usr
pankso@2914 40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@2914 41 cp -a $_pkg/usr/lib/esmart $fs/usr/lib
pankso@2914 42 rm -rf $fs/usr/lib/esmart/*/*.*a
pankso@2914 43 }