wok-current annotate blueman/receipt @ rev 13818
tazbug-website: fix genpkg_rules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 06 18:21:06 2013 +0100 (2013-01-06) |
parents | 73641efed1cc |
children | 2b9f96603415 |
rev | line source |
---|---|
pascal@11217 | 1 # SliTaz package receipt. |
pascal@11217 | 2 |
pascal@11217 | 3 PACKAGE="blueman" |
pascal@11217 | 4 VERSION="1.10" |
pascal@11217 | 5 CATEGORY="system-tools" |
pascal@11217 | 6 SHORT_DESC="Easy to use GTK+ Bluetooth Manager." |
pascal@11217 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@11217 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11217 | 9 WEB_SITE="http://blueman-project.org/" |
pascal@11217 | 10 WGET_URL="http://download.tuxfamily.org/blueman/$TARBALL" |
pascal@11217 | 11 |
pascal@11217 | 12 DEPENDS="linux-bluetooth bluez python pygtk libnotify notify-python python-pyrex \ |
pankso@12481 | 13 startup-notification util-linux-uuid dbus dbus-python" |
pascal@11217 | 14 BUILD_DEPENDS="bluez-dev python-dev pygtk-dev notify-python libnotify-dev \ |
pankso@12481 | 15 python-pyrex startup-notification-dev util-linux-uuid-dev dbus-dev \ |
pascal@12605 | 16 dbus-python-dev intltool libtool notify-python" |
pascal@11217 | 17 |
pascal@11217 | 18 # Rules to configure and make the package. |
pascal@11217 | 19 compile_rules() |
pascal@11217 | 20 { |
pascal@11217 | 21 cd $src |
pascal@11217 | 22 ./configure \ |
pascal@11217 | 23 --prefix=/usr \ |
pascal@11217 | 24 --sysconfdir=/etc \ |
pascal@11217 | 25 --libexecdir=/usr/lib/$PACKAGE \ |
pascal@11217 | 26 $CONFIGURE_ARGS && |
pascal@11217 | 27 make && make install |
pascal@11217 | 28 } |
pascal@11217 | 29 |
pascal@11217 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11217 | 31 genpkg_rules() |
pascal@11217 | 32 { |
pascal@11217 | 33 mkdir -p $fs/usr/share/pixmaps |
pascal@11217 | 34 cp -a $install/usr/bin $fs/usr |
pascal@11217 | 35 cp -a $install/usr/lib $fs/usr |
pascal@11217 | 36 cp -a $install/usr/share/blueman $fs/usr/share |
pascal@11217 | 37 cp -a $install/usr/share/hal $fs/usr/share |
pascal@11217 | 38 cp -a $install/usr/share/dbus-1 $fs/usr/share |
pascal@11217 | 39 cp -a $install/usr/share/PolicyKit $fs/usr/share |
pascal@11217 | 40 cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \ |
pascal@11217 | 41 $fs/usr/share/pixmaps |
pascal@11217 | 42 cp -a $install/etc $fs |
pascal@11217 | 43 } |