wok annotate util-linux-uuid/receipt @ rev 12597

glib: Make sure glib-compile-schemas is in glib not glib-dev. Needed for evince and smplayer to work.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Apr 28 21:51:35 2012 +0000 (2012-04-28)
parents 73641efed1cc
children 64e7fff3f73c
rev   line source
pankso@12480 1 # SliTaz package receipt.
pankso@12480 2
pankso@12480 3 PACKAGE="util-linux-uuid"
pankso@12480 4 VERSION="2.21.1"
pankso@12480 5 CATEGORY="base-system"
pankso@12480 6 SHORT_DESC="The uuid utility and library from Util linux NG."
pankso@12480 7 MAINTAINER="pankso@slitaz.org"
pankso@12480 8 DEPENDS="glibc-base"
pankso@12480 9 WANTED="util-linux"
pankso@12480 10 WEB_SITE="http://kernel.org/~kzak/util-linux/"
pankso@12480 11
pankso@12480 12 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12480 13 genpkg_rules()
pankso@12480 14 {
pankso@12480 15 mkdir -p $fs/lib $fs/usr/lib $fs/usr/bin $fs/usr/sbin
pankso@12481 16 cp -a $install/usr/sbin/uuidd $fs/usr/sbin
pankso@12481 17 cp -a $install/usr/bin/uuidgen $fs/usr/bin
pankso@12481 18 cp -a $install/lib/libuuid.so* $fs/lib
pankso@12487 19 cd $fs/usr/lib
pankso@12487 20 ln -s /lib/libuuid.so.1.3.0 libuuid.so
pankso@12480 21 }
pankso@12480 22
pankso@12481 23 # Remove old package
pankso@12480 24 post_install()
pankso@12480 25 {
pankso@12481 26 if [ -d "/var/lib/tazpkg/installed/util-linux-ng-uuid" ]; then
pankso@12481 27 echo "Removing old: util-linux-ng-uuid"
pankso@12487 28 yes "y" | tazpkg -r util-linux-ng-uuid
pankso@12481 29 fi
pankso@12480 30 }