wok-6.x view tazpkg/receipt @ rev 4779
Add: libbfd.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Jan 14 22:16:51 2010 +0100 (2010-01-14) |
parents | ad6126f9920a |
children | 4a0243ce1877 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tazpkg"
4 VERSION="3.2"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz packages manager."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="busybox"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://mirror.slitaz.org/sources/tazpkg/$TARBALL"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 #
15 # Tazpkg is SliTaz packages manager. On an other GNU/Linux install
16 # can be do with : make install from the sources directory.
17 #
18 genpkg_rules()
19 {
20 mkdir -p \
21 $fs/etc/slitaz \
22 $fs/usr/bin \
23 $fs/usr/lib/slitaz \
24 $fs/usr/share/doc/$PACKAGE
25 cp -a $src/tazpkg $fs/usr/bin
26 cp -a $src/tazpkgbox $fs/usr/bin
27 cp -a $src/tazpkg.conf $fs/etc/slitaz
28 cp -a $src/lib/* $fs/usr/lib/slitaz
29 cp -a $src/applications $fs/usr/share
30 cp -a $src/pixmaps $fs/usr/share
31 cp -a $src/mime $fs/usr/share
32 cp -a $src/doc/$PACKAGE.html $fs/usr/share/doc/$PACKAGE
33 chmod 755 $fs/usr/bin/$PACKAGE
34 chown -R root.root $fs
35 # Default icon for mimetype (freedesktop standard compliant file
36 # manager will diplay a tazpkg icon for SliTaz packages).
37 mkdir -p $fs/usr/share/icons/hicolor/32x32/mimetypes
38 cd $fs/usr/share/icons/hicolor/32x32/mimetypes
39 ln -s /usr/share/pixmaps/tazpkg.png package-x-tazpkg.png
40 ln -s /usr/share/pixmaps/tazpkg.png gnome-mime-application-x-tazpkg.png
41 }
43 post_install()
44 {
45 # update mime-cache
46 echo "Updating mime-types database..."
47 update-mime-database $1/usr/share/mime
48 }