Gentoo Archives: gentoo-dev

From: Paul <set@×××××.com>
To: gentoo-dev@g.o
Subject: [gentoo-dev] my simple dependancy generator
Date: Wed, 21 Aug 2002 03:32:19
Message-Id: 20020821083206.GD5078@squish.home.loc
1 Hi;
2
3 Not running gnome or kde, I prefer to be as tight as
4 possible on dependancies.
5 I whiped up this scrawny script to help me determine the
6 dependancies for some ebuilds I write; does anyone want to
7 improve it, or say why it sucks?
8
9 ---
10 [squish.home.loc] /home/set/mysrc/script (Set): cat pkg-depend
11 #!/bin/sh
12
13 FILE=$1
14 if [ ! -f "$FILE" ] ; then
15 FILE=`which $1`
16 fi
17
18 ldd "$FILE" | gawk '{ print $3 }' - | xargs -n1 qpkg -nc -f -v\
19 | sort | uniq
20 ---
21
22 Paul
23 set@×××××.com

Replies

Subject Author
Re: [gentoo-dev] my simple dependancy generator pof <pau@××××××.org>