wok-stable diff shared-mime-info/receipt @ rev 596
busybox/cpio: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 17 14:37:56 2008 +0000 (2008-04-17) |
parents | |
children | 6db4f9cb4207 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/shared-mime-info/receipt Thu Apr 17 14:37:56 2008 +0000 1.3 @@ -0,0 +1,39 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="shared-mime-info" 1.7 +VERSION="0.23" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Core database of common types and the *update-mime-database*." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.12 +WEB_SITE="http://freedesktop.org/wiki/Software/shared-mime-info" 1.13 +WGET_URL="http://freedesktop.org/~hadess/$TARBALL" 1.14 + 1.15 +# Rules to configure and make the package. 1.16 +compile_rules() 1.17 +{ 1.18 + cd $src 1.19 + ./configure \ 1.20 + --prefix=/usr \ 1.21 + --sysconfdir=/etc \ 1.22 + --mandir=/usr/share/man \ 1.23 + $CONFIGURE_ARGS 1.24 + make 1.25 + make DESTDIR=$PWD/_pkg install 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr/share/locale 1.32 + 1.33 + cp -a $_pkg/usr/bin $fs/usr 1.34 + cp -a $_pkg/usr/share/mime $fs/usr/share 1.35 + cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale 1.36 + strip -s $fs/usr/bin/* 1.37 + 1.38 + # Put pkgconfig *.pc file, since we are not doing 1.39 + # a -dev pkg for one tiny file. 1.40 + mkdir -p $fs/usr/lib 1.41 + cp -a $_pkg/usr/share/pkgconfig $fs/usr/lib 1.42 +}