wok-next annotate xfmpc/receipt @ rev 9012

python-gazpacho: Replace _pkg with DESTDIR. This fixes it.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Mar 03 12:49:02 2011 +0000 (2011-03-03)
parents 413b0174114a
children d62d88327944
rev   line source
erjo@4869 1 # SliTaz package receipt.
erjo@4869 2
erjo@4869 3 PACKAGE="xfmpc"
erjo@4869 4 VERSION="0.2.0"
erjo@4869 5 CATEGORY="x-window"
erjo@4869 6 SHORT_DESC="MPD client for Xfce."
erjo@4869 7 MAINTAINER="erjo@slitaz.org"
pascal@5008 8 DEPENDS="libxfcegui4 libxfce4util libmpd startup-notification"
pascal@8937 9 BUILD_DEPENDS="libxfcegui4-dev libxfce4util-dev libmpd-dev intltool"
erjo@4869 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@4869 11 WEB_SITE="http://goodies.xfce.org/projects/applications/xfmpc"
erjo@4869 12 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@4869 13
erjo@4869 14 # Rules to configure and make the package.
erjo@4869 15 compile_rules()
erjo@4869 16 {
erjo@4869 17 cd $src
erjo@4869 18 ./configure \
erjo@4869 19 --prefix=/usr \
erjo@4869 20 --infodir=/usr/share/info \
erjo@4869 21 --mandir=/usr/share/man \
erjo@4869 22 $CONFIGURE_ARGS &&
erjo@4869 23 make && make DESTDIR=$PWD/_pkg install
erjo@4869 24 }
erjo@4869 25
erjo@4869 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4869 27 genpkg_rules()
erjo@4869 28 {
erjo@4869 29 mkdir -p $fs/usr
erjo@4869 30 cp -a $_pkg/usr/bin $fs/usr
erjo@4869 31 }
erjo@4869 32