wok-next annotate xfce4-dev-tools/receipt @ rev 15608

hubbub: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 06 20:31:17 2013 +0000 (2013-12-06)
parents d1768332cee0
children 5cdf5c29f238
rev   line source
erjo@5846 1 # SliTaz package receipt.
erjo@5846 2
erjo@5846 3 PACKAGE="xfce4-dev-tools"
slaxemulator@8046 4 VERSION="4.8.0"
erjo@5846 5 CATEGORY="development"
erjo@5846 6 SHORT_DESC="Xfce Developpers Tools "
erjo@5846 7 MAINTAINER="erjo@slitaz.org"
pascal@15579 8 LICENSE="GPL2"
erjo@5846 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@5846 10 WEB_SITE="http://xfce.org/~benny/projects/xfce4-dev-tools/"
slaxemulator@8046 11 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@5846 12
pascal@15579 13 DEPENDS="subversion autoconf automake intltool pkg-config"
pascal@15579 14
erjo@5846 15 # Rules to configure and make the package.
erjo@5846 16 compile_rules()
erjo@5846 17 {
erjo@5846 18 cd $src
slaxemulator@9700 19 #patch -p1 -i $stuff/xdt-autogen-4.6.0.u || return 1
erjo@5846 20 ./configure \
erjo@5846 21 --prefix=/usr \
erjo@5846 22 --infodir=/usr/share/info \
erjo@5846 23 --mandir=/usr/share/man \
erjo@5846 24 $CONFIGURE_ARGS &&
pascal@15579 25 make && make DESTDIR=$DESTDIR install
erjo@5846 26 }
erjo@5846 27
erjo@5846 28 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@5846 29 genpkg_rules()
erjo@5846 30 {
erjo@5846 31 mkdir -p $fs/usr
pascal@15579 32 cp -a $install/usr/bin $fs/usr
pascal@15579 33 cp -a $install/usr/share $fs/usr
erjo@5846 34
erjo@5846 35 chmod 755 $fs/usr/bin/xdt-*
erjo@5846 36 }