wok-next view garcon/receipt @ rev 9071
virtualbox-ose: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 15:17:58 2011 +0100 (2011-03-04) |
parents | 152224d80dd5 |
children | 57d4b7f3f25a |
line source
1 # SliTaz package receipt.
3 PACKAGE="garcon"
4 VERSION="0.1.5"
5 CATEGORY="misc"
6 SHORT_DESC="Xfce menu library"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libgio"
9 BUILD_DEPENDS="intltool libgio libgio-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.xfce.org"
12 WGET_URL="http://archive.xfce.org/src/libs/garcon/0.1/$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 --sysconfdir=/etc \
22 --disable-login \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr \
32 $fs/usr/share \
33 $fs/usr/lib
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/etc $fs/
37 cp -a $_pkg/usr/share/desktop* $fs/usr/share
38 }