wok-next annotate xfce4-panel/receipt @ rev 7549
Added jpeg-dev to gdk-pixbuf-dev depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Dec 07 23:26:56 2010 +0000 (2010-12-07) |
parents | fa89012698fd |
children | c6a66582f753 |
rev | line source |
---|---|
erjo@2073 | 1 # SliTaz package receipt. |
erjo@2073 | 2 |
erjo@2073 | 3 PACKAGE="xfce4-panel" |
erjo@5831 | 4 VERSION="4.6.4" |
erjo@2073 | 5 CATEGORY="x-window" |
erjo@2073 | 6 SHORT_DESC="Xfce Panel" |
erjo@2073 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@4129 | 8 DEPENDS="libxfce4util libxfcegui4 libexo libwnck" |
erjo@4129 | 9 BUILD_DEPENDS="libxfce4util-dev libxfcegui4-dev libexo-dev libwnck-dev cairo-dev" |
erjo@2073 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@2073 | 11 WEB_SITE="http://www.xfce.org/" |
erjo@5831 | 12 WGET_URL="$WEB_SITE/archive/xfce/4.6.2/src/$TARBALL |
erjo@5831 | 13 http://www.p0llux.be/xfce/archive/xfce/4.6.2/src/$TARBALL" |
erjo@2073 | 14 |
erjo@2073 | 15 # Rules to configure and make the package. |
erjo@2073 | 16 compile_rules() |
erjo@2073 | 17 { |
erjo@5849 | 18 |
erjo@2073 | 19 cd $src |
erjo@2073 | 20 ./configure --prefix=/usr \ |
erjo@2073 | 21 --sysconfdir=/etc \ |
erjo@2073 | 22 --enable-startup-notification \ |
erjo@2073 | 23 --disable-debug \ |
erjo@2073 | 24 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
erjo@2073 | 25 make && make DESTDIR=$PWD/_pkg install |
erjo@2073 | 26 } |
erjo@2073 | 27 |
erjo@2073 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2073 | 29 genpkg_rules() |
erjo@2073 | 30 { |
erjo@2073 | 31 mkdir -p $fs/usr \ |
erjo@2073 | 32 $fs/usr/share/locale \ |
erjo@2073 | 33 $fs/usr/share/xfce4 \ |
erjo@2073 | 34 $fs/usr/lib/xfce4/panel-plugins |
erjo@2073 | 35 |
erjo@2073 | 36 cp -a $_pkg/etc $fs |
erjo@2073 | 37 cp -a $_pkg/usr/bin $fs/usr |
erjo@2073 | 38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@2073 | 39 cp -a $_pkg/usr/lib/xfce4/panel-plugins/*.so* $fs/usr/lib/xfce4/panel-plugins |
erjo@2073 | 40 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@2073 | 41 cp -a $_pkg/usr/share/applications $fs/usr/share |
erjo@2073 | 42 cp -a $_pkg/usr/share/icons $fs/usr/share |
erjo@2073 | 43 cp -a $_pkg/usr/share/xfce4/panel-plugins $fs/usr/share/xfce4 |
erjo@4876 | 44 |
erjo@5849 | 45 [ -f $fs/etc/xdg/xfce4/panel/launcher-8.rc ] && \ |
erjo@5849 | 46 sed -i 's/mousepad/leafpad/' $fs/etc/xdg/xfce4/panel/launcher-8.rc |
erjo@4876 | 47 |
erjo@4876 | 48 # Strip evrythings |
erjo@4876 | 49 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \; |
erjo@4876 | 50 |
erjo@2073 | 51 } |
erjo@2073 | 52 |