wok-4.x view icon-naming-utils/receipt @ rev 1093
Add linux-source
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 17 09:13:52 2008 +0000 (2008-07-17) |
parents | b4413bf9aece |
children | cb884d540a01 |
line source
1 # SliTaz package receipt.
3 PACKAGE="icon-naming-utils"
4 VERSION="0.8.2"
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://tango.freedesktop.org/"
11 WGET_URL=" http://tango.freedesktop.org/releases/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --libexecdir=/usr/lib/icon-naming-utils \
20 $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $_pkg/usr/lib $fs/usr
30 cp -a $_pkg/usr/share/dtds $fs/usr/share
31 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
33 chmod +x $fs/usr/lib/$PACKAGE/*
35 # For one file we are not going to build a -dev pkg
36 cp -a $_pkg/usr/share/pkgconfig $fs/usr/lib
37 }