wok view efreet/receipt @ rev 5852
freeradius: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 16 23:05:43 2010 +0200 (2010-07-16) |
parents | f99c07c038f7 |
children | 85cd798d6997 |
line source
1 # SliTaz package receipt.
3 PACKAGE="efreet"
4 VERSION="0.5.0.063"
5 CATEGORY="x-window"
6 SHORT_DESC="E17 implementation of several specifications from freedesktop.org."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="eet evas ecore embryo edje libcurl openssl libtasn1"
9 BUILD_DEPENDS="eet-dev evas-dev ecore-dev ecore embryo-dev edje-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.enlightenment.org/"
12 WGET_URL="http://download.enlightenment.org/snapshots/2009-12-02/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 for i in $fs/usr/lib/*.so ; do
35 [ -L $i ] || continue
36 [ -e $i.0 ] && continue
37 target=$(readlink $i)
38 case "$target" in
39 *.so.0.*) ln -s $target $i.0;;
40 esac
41 done
42 }