wok-current annotate xcb-util/receipt @ rev 11874
up startup-notification 0.12. up thunar 1.3.0. xcb-util symlinks.
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Mon Feb 27 15:21:59 2012 -0800 (2012-02-27) |
parents | d363995c1565 |
children | 88250b081917 |
rev | line source |
---|---|
mallory@2686 | 1 # SliTaz package receipt. |
mallory@2686 | 2 |
mallory@2686 | 3 PACKAGE="xcb-util" |
samuel_trassare@11869 | 4 VERSION="0.3.8" |
mallory@2686 | 5 CATEGORY="x-window" |
mallory@2686 | 6 SHORT_DESC="XCB Utilites" |
mallory@2686 | 7 MAINTAINER="mallory@sweetpeople.org" |
pascal@2843 | 8 DEPENDS="libxcb xorg-libXdmcp" |
erjo@5838 | 9 BUILD_DEPENDS="libxcb-dev libxcb gperf" |
mallory@2686 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
mallory@2686 | 11 WEB_SITE="http://xcb.freedesktop.org" |
mallory@2686 | 12 WGET_URL="$WEB_SITE/dist/$TARBALL" |
mallory@2686 | 13 |
mallory@2686 | 14 # Rules to configure and make the package. |
mallory@2686 | 15 compile_rules() |
mallory@2686 | 16 { |
mallory@2686 | 17 cd $src |
mallory@2686 | 18 ./configure \ |
mallory@2686 | 19 --prefix=/usr \ |
mallory@2686 | 20 --infodir=/usr/share/info \ |
mallory@2686 | 21 --mandir=/usr/share/man \ |
mallory@2686 | 22 $CONFIGURE_ARGS && |
mallory@2686 | 23 make && make DESTDIR=$PWD/_pkg install |
mallory@2686 | 24 } |
mallory@2686 | 25 |
mallory@2686 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2686 | 27 genpkg_rules() |
mallory@2686 | 28 { |
samuel_trassare@11874 | 29 mkdir -p $fs/usr/lib |
mallory@2686 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
samuel_trassare@11874 | 31 |
samuel_trassare@11874 | 32 # Creating links to substitute for files obsoleted by new version. |
samuel_trassare@11874 | 33 ln -s $fs/usr/lib/libxcb-util.so $fs/usr/lib/libxcb-aux.so |
samuel_trassare@11874 | 34 ln -s $fs/usr/lib/libxcb-util.so $fs/usr/lib/libxcb-atom.so |
samuel_trassare@11874 | 35 ln -s $fs/usr/lib/libxcb-util.so $fs/usr/lib/libxcb-event.so |
samuel_trassare@11874 | 36 |
samuel_trassare@11874 | 37 ln -s $fs/usr/lib/libxcb-util.so.0 $fs/usr/lib/libxcb-aux.so.0 |
samuel_trassare@11874 | 38 ln -s $fs/usr/lib/libxcb-util.so.0 $fs/usr/lib/libxcb-atom.so.0 |
samuel_trassare@11874 | 39 ln -s $fs/usr/lib/libxcb-util.so.0 $fs/usr/lib/libxcb-event.so.0 |
samuel_trassare@11874 | 40 |
samuel_trassare@11874 | 41 ln -s $fs/usr/lib/libxcb-util.so.0 $fs/usr/lib/libxcb-aux.so.1 |
samuel_trassare@11874 | 42 ln -s $fs/usr/lib/libxcb-util.so.0 $fs/usr/lib/libxcb-atom.so.1 |
samuel_trassare@11874 | 43 ln -s $fs/usr/lib/libxcb-util.so.0 $fs/usr/lib/libxcb-event.so.1 |
mallory@2686 | 44 } |
mallory@2686 | 45 |