Difference between revisions of "Star"

From CBLFS
Jump to navigationJump to search
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| URL ftp://ftp.berlios.de/pub/star/star-{{Star-Version}}.tar.bz2
+
|ftp://ftp.berlios.de/pub/star/star-{{Star-Version}}.tar.bz2
 
|-
 
|-
 
|}
 
|}
  
{{Package-Introduction|A tape archiving program which backs up Extended Attributes and Access Control Lists on files. Follows POSIX standards.
+
{{Package-Introduction|A tape archiving program following POSIX standards which backs up Extended Attributes and Access Control Lists on files.|http://cdrecord.berlios.de/old/private/star.html}}
|http://cdrecord.berlios.de/old/private/star.html}}
 
 
== Dependencies ==
 
== Dependencies ==
  
Line 17: Line 16:
 
Compile the package:
 
Compile the package:
  
make
+
make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root
  
 
Install the package:
 
Install the package:
  
  make INS_BASE=/usr DEFINSUSR=0 DEFINSGRP=0 install
+
  make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
 +
install -dv -m755 /etc/default &&
 +
mv -v /usr/etc/default/{rmt,star} /etc/default &&
 +
rmdir -v --ignore-fail-on-non-empty /usr/etc/default &&
 +
rmdir -v --ignore-fail-on-non-empty /usr/etc
  
Fix permissions:
+
== Multilib ==
 +
 
 +
=== 32Bit ===
 +
 
 +
Compile the package:
  
  chmod 755 /usr/lib/libdeflt.so.1.0 &&
+
  make CCOM="gcc" COPTX="${BUILD32}" LDOPTX="${BUILD32}" \
chmod 755 /usr/lib/libfind.so.1.0 &&
+
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root
chmod 755 /usr/lib/librmt.so.1.0 &&
 
chmod 755 /usr/lib/schily.so.1.0
 
  
== Multilib ==
+
Install the package
'''''This package provides 3 libraries.'''''
 
=== 32Bit ===
 
  
TODO: Please update when tested in multilib
+
make CCOM="gcc" COPTX="${BUILD32}" LDOPTX="${BUILD32}" \
 +
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
 +
install -dv -m755 /etc/default &&
 +
mv -v /usr/etc/default/{rmt,star} /etc/default &&
 +
rmdir -v --ignore-fail-on-non-empty /usr/etc/default &&
 +
rmdir -v --ignore-fail-on-non-empty /usr/etc
  
 
=== N32 ===
 
=== N32 ===
  
TODO: Please update when tested in multilib
+
Compile the package:
 +
 
 +
(find . -name "*.mk"; find . -name Makefile) | xargs sed -i "/^INSDIR=\s*lib$/s/lib/&32/" &&
 +
make CCOM="gcc" COPTX="${BUILDN32}" LDOPTX="${BUILDN32}" \
 +
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root
 +
 
 +
Install the package
 +
 
 +
make CCOM="gcc" COPTX="${BUILDN32}" LDOPTX="${BUILDN32}" \
 +
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
 +
install -dv -m755 /etc/default &&
 +
mv -v /usr/etc/default/{rmt,star} /etc/default &&
 +
rmdir -v --ignore-fail-on-non-empty /usr/etc/default &&
 +
rmdir -v --ignore-fail-on-non-empty /usr/etc
  
 
=== 64Bit ===
 
=== 64Bit ===
  
TODO: Please update when tested in multilib
+
Compile the package:
 +
 
 +
(find . -name "*.mk"; find . -name Makefile) | xargs sed -i "/^INSDIR=\s*lib$/s/lib/&64/" &&
 +
make CCOM="gcc" COPTX="${BUILD64}" LDOPTX="${BUILD64}"\
 +
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root
 +
 
 +
Install the package
 +
 
 +
make CCOM="gcc" COPTX="${BUILD64}" LDOPTX="${BUILD64}" \
 +
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
 +
install -dv -m755 /etc/default &&
 +
mv -v /usr/etc/default/{rmt,star} /etc/default &&
 +
rmdir -v --ignore-fail-on-non-empty /usr/etc/default &&
 +
rmdir -v --ignore-fail-on-non-empty /usr/etc
 +
 
 +
[[Category:General Utilities]]

Latest revision as of 14:03, 19 March 2009

Download Source: ftp://ftp.berlios.de/pub/star/star-1.5.tar.bz2

Introduction to Star

A tape archiving program following POSIX standards which backs up Extended Attributes and Access Control Lists on files.

Project Homepage: http://cdrecord.berlios.de/old/private/star.html

Dependencies

Required

Non-Multilib

Compile the package:

make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root

Install the package:

make INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
install -dv -m755 /etc/default &&
mv -v /usr/etc/default/{rmt,star} /etc/default &&
rmdir -v --ignore-fail-on-non-empty /usr/etc/default &&
rmdir -v --ignore-fail-on-non-empty /usr/etc

Multilib

32Bit

Compile the package:

make CCOM="gcc" COPTX="${BUILD32}" LDOPTX="${BUILD32}" \
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root

Install the package

make CCOM="gcc" COPTX="${BUILD32}" LDOPTX="${BUILD32}" \
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
install -dv -m755 /etc/default &&
mv -v /usr/etc/default/{rmt,star} /etc/default &&
rmdir -v --ignore-fail-on-non-empty /usr/etc/default &&
rmdir -v --ignore-fail-on-non-empty /usr/etc

N32

Compile the package:

(find . -name "*.mk"; find . -name Makefile) | xargs sed -i "/^INSDIR=\s*lib$/s/lib/&32/" &&
make CCOM="gcc" COPTX="${BUILDN32}" LDOPTX="${BUILDN32}" \
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root

Install the package

make CCOM="gcc" COPTX="${BUILDN32}" LDOPTX="${BUILDN32}" \
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
install -dv -m755 /etc/default &&
mv -v /usr/etc/default/{rmt,star} /etc/default &&
rmdir -v --ignore-fail-on-non-empty /usr/etc/default &&
rmdir -v --ignore-fail-on-non-empty /usr/etc

64Bit

Compile the package:

(find . -name "*.mk"; find . -name Makefile) | xargs sed -i "/^INSDIR=\s*lib$/s/lib/&64/" &&
make CCOM="gcc" COPTX="${BUILD64}" LDOPTX="${BUILD64}"\
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root

Install the package

make CCOM="gcc" COPTX="${BUILD64}" LDOPTX="${BUILD64}" \
    INS_BASE=/usr DEFINSUSR=root DEFINSGRP=root install &&
install -dv -m755 /etc/default &&
mv -v /usr/etc/default/{rmt,star} /etc/default &&
rmdir -v --ignore-fail-on-non-empty /usr/etc/default &&
rmdir -v --ignore-fail-on-non-empty /usr/etc
Retrieved from "?title=Star&oldid=17274"