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