wok annotate xfprint/receipt @ rev 3915
slitaz-loram-cdrom: ntfs3g needs libpthread
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 18 17:27:51 2009 +0200 (2009-08-18) |
parents | 62c9d38f56c0 |
children | cea60f3ae093 |
rev | line source |
---|---|
erjo@2075 | 1 # SliTaz package receipt. |
erjo@2075 | 2 |
erjo@2075 | 3 PACKAGE="xfprint" |
erjo@2075 | 4 VERSION="4.4.3" |
erjo@2075 | 5 CATEGORY="x-window" |
erjo@2075 | 6 SHORT_DESC="Xfce Printer manager" |
erjo@2075 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@2528 | 8 DEPENDS="libxfcegui4 libxfce4util libxfce4mcs xfce-mcs-manager cups \ |
pascal@2528 | 9 xorg-libXdamage" |
erjo@2075 | 10 BUILD_DEPENDS="libxfcegui4-dev libxfce4util-dev libxfce4mcs-dev xfce-mcs-manager-dev cups-dev" |
erjo@2075 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@2075 | 12 WEB_SITE="http://www.xfce.org" |
erjo@2075 | 13 WGET_URL="http://www.p0llux.be/xfce/xfce-4.4.3/src/$TARBALL" |
erjo@2075 | 14 |
erjo@2075 | 15 # Rules to configure and make the package. |
erjo@2075 | 16 compile_rules() |
erjo@2075 | 17 { |
erjo@2075 | 18 cd $src |
erjo@2075 | 19 ./configure --prefix=/usr \ |
erjo@2075 | 20 --infodir=/usr/share/info \ |
erjo@2075 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
erjo@2075 | 22 make && make DESTDIR=$PWD/_pkg install |
erjo@2075 | 23 } |
erjo@2075 | 24 |
erjo@2075 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2075 | 26 genpkg_rules() |
erjo@2075 | 27 { |
erjo@2075 | 28 mkdir -p $fs/usr |
erjo@2075 | 29 |
erjo@2075 | 30 cp -a $_pkg/usr/bin $fs/usr |
erjo@2075 | 31 cp -a $_pkg/usr/lib $fs/usr |
erjo@2075 | 32 |
erjo@2075 | 33 # Remove unecessary files |
erjo@2075 | 34 find $fs/ -name "*.*a" -exec rm -f {} \; |
erjo@2075 | 35 rm -rf $fs/usr/lib/pkgconfig |
erjo@2075 | 36 # Remove SVG icons |
erjo@2075 | 37 rm -rf $fs/usr/share/icons/hicolor/scalable |
erjo@2075 | 38 |
erjo@2075 | 39 |
erjo@2075 | 40 } |
erjo@2075 | 41 |