wok-next view icon-naming-utils/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 | 422fcad5efbd |
children | de49f29b101e |
line source
1 # SliTaz package receipt.
3 PACKAGE="icon-naming-utils"
4 VERSION="0.8.90"
5 CATEGORY="x-window"
6 SHORT_DESC="Perl script used for desktop icon compatibility"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="perl perl-xml-simple"
9 BUILD_DEPENDS="perl perl-xml-simple"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://tango.freedesktop.org/"
12 WGET_URL="http://tango.freedesktop.org/releases/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --libexecdir=/usr/lib/icon-naming-utils \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
30 cp -a $_pkg/usr/lib $fs/usr
31 cp -a $_pkg/usr/share/dtds $fs/usr/share
32 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
34 chmod +x $fs/usr/lib/$PACKAGE/*
36 # For one file we are not going to build a -dev pkg
37 cp -a $_pkg/usr/share/pkgconfig $fs/usr/lib
38 }