Changeset 5811db8 in clfs-sysroot for BOOK/final-system
- Timestamp:
- Dec 11, 2006, 1:39:56 PM (18 years ago)
- Branches:
- master
- Children:
- 3e71b22
- Parents:
- 1593ff0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/gzip.xml
r1593ff0 r5811db8 31 31 --prefix=/usr</userinput></screen> 32 32 33 <para os="c">The <command>gzexe</command> script has the location of the 34 <command>gzip</command> binary hard-wired into it. Because the 35 location of the binary is changed later, the following command ensures 36 that the new location gets placed into the script:</para> 37 38 <screen os="d"><userinput>chmod +w gzexe.in 39 cp gzexe.in{,.orig} 40 sed 's@"BINDIR"@/bin@g' gzexe.in.orig > gzexe.in</userinput></screen> 41 42 <para os="e">Compile the package:</para> 43 44 <screen os="f"><userinput>make</userinput></screen> 45 46 <para os="g">Install the package:</para> 47 48 <screen os="h"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 49 50 <para os="i">Move the <command>gzip</command> program to the <filename 33 <para os="c">Compile the package:</para> 34 35 <screen os="d"><userinput>make</userinput></screen> 36 37 <para os="e">Install the package:</para> 38 39 <screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen> 40 41 <para os="g">Move the <command>gzip</command> program to the <filename 51 42 class="directory">/bin</filename> directory and create some commonly 52 43 used symlinks to it:</para> 53 44 54 <screen os=" j"><userinput>mv -v ${CLFS}/usr/bin/gzip ${CLFS}/bin45 <screen os="h"><userinput>mv -v ${CLFS}/usr/bin/gzip ${CLFS}/bin 55 46 rm -v ${CLFS}/usr/bin/{gunzip,zcat} 56 47 ln -sv gzip ${CLFS}/bin/gunzip
Note:
See TracChangeset
for help on using the changeset viewer.