[BLFS Trac] #2961: New package: DeviceKit-power

BLFS Trac trac at linuxfromscratch.org
Wed Oct 7 21:25:27 PDT 2009


#2961: New package: DeviceKit-power
----------------------+-----------------------------------------------------
 Reporter:  wblaszcz  |       Owner:  blfs-book@…                   
     Type:  task      |      Status:  new                           
 Priority:  normal    |   Milestone:  6.5                           
Component:  BOOK      |     Version:  SVN                           
 Severity:  normal    |    Keywords:                                
----------------------+-----------------------------------------------------

Comment(by dj@…):

 ftp://oss.sgi.com/projects/xfs/cmd_tars/

 Ooops...not quite CMMI.  Wow, these are really ugly.

 {{{
 # attr-2.4.43
 ./configure --libexecdir=/usr/lib \
             --mandir=/usr/share/man &&
 make &&
 sudo make PKG_USER=root PKG_GROUP=root \
     PKG_DOC_DIR=/usr/share/doc/attr-2.4.43 install &&
 sudo make PKG_USER=root PKG_GROUP=root install-lib &&
 sudo make PKG_USER=root PKG_GROUP=root install-dev &&
 sudo rm /usr/lib/libattr.so &&
 sudo ln -sf libattr.so.1.1.0 /usr/lib/libattr.so &&
 sudo /sbin/ldconfig
 }}}

 {{{
 # acl-2.2.47
 ./configure --libexecdir=/usr/lib \
             --mandir=/usr/share/man &&
 make &&
 sudo make PKG_USER=root PKG_GROUP=root \
     PKG_DOC_DIR=/usr/share/doc/acl-2.2.47 install &&
 sudo make PKG_USER=root PKG_GROUP=root install-lib &&
 sudo make PKG_USER=root PKG_GROUP=root install-dev &&
 sudo rm /usr/lib/libacl.so &&
 sudo ln -sf libacl.so.1.1.0 /usr/lib/libacl.so &&
 sudo /sbin/ldconfig
 }}}

 Suppose you could probably get rid of the --libexecdir=/usr/lib and move
 the files into /usr/lib from /usr/lib/libexec (overwriting the symlinks),
 but then you'd have to remove a useless libexec dir that may or may not be
 empty...depends on what all the user has done on his own.  I haven't tried
 that, but above instructions are what I have in my build scripts, probably
 for the libexec dir.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2961#comment:6>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list