File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 5757 </Item >
5858
5959 <Item >
60- download the package archive <F >&ARCHIVENAME; .tar.gz </F > from
61- <URL Text =" the Digraphs package webpage" >https://digraphs.github.io/Digraphs/ </URL >.
60+ download the package archive <F >&ARCHIVENAME; </F > from
61+ <URL Text =" the Digraphs package webpage" >https://digraphs.github.io/Digraphs</URL >.
6262 </Item >
6363
6464 <Item >
6565 unzip and untar the file, this should create a directory called
66- <F >&ARCHIVENAME ; </F >.
66+ <F >&ARCHIVE_BASENAME ; </F >.
6767 </Item >
6868
6969 <Item >
7070 locate the <F >pkg</F > directory of your &GAP; directory, which contains
7171 the directories <F >lib</F >, <F >doc</F > and so on. Move the directory
72- <F >&ARCHIVENAME ; </F > into the <F >pkg</F > directory.
72+ <F >&ARCHIVE_BASENAME ; </F > into the <F >pkg</F > directory.
7373 </Item >
7474
7575 <Item >
7676 it is necessary to compile the &Digraphs; package.
77- Inside the <F >pkg/&ARCHIVENAME ; </F > directory, type
77+ Inside the <F >pkg/&ARCHIVE_BASENAME ; </F > directory, type
7878 <Listing >
7979<![CDATA[ ./configure
8080make]]> </Listing >
@@ -177,7 +177,7 @@ flags are provided.
177177
178178 It is not possible to use the &Digraphs; package without compiling it.<P />
179179
180- To compile the kernel component inside the <F >pkg/&ARCHIVENAME ; </F >
180+ To compile the kernel component inside the <F >pkg/&ARCHIVE_BASENAME ; </F >
181181 directory, type
182182<Listing >
183183<![CDATA[
Original file line number Diff line number Diff line change @@ -52,9 +52,12 @@ for Pkg in Concatenation(PkgInfo.Dependencies.NeededOtherPackages,
5252 XMLEntities.(entity_name) := RemovePrefixVersion(Pkg[ 2 ] );
5353od ;
5454
55- ARCHIVENAME := SplitString(PkgInfo.ArchiveURL, " /" );
56- ARCHIVENAME := Concatenation(ARCHIVENAME[ Length(ARCHIVENAME)] ,
57- PkgInfo.ArchiveFormats);
55+ # Can change the following line to use Last() once we drop GAP 4.10 support
56+ ARCHIVE_BASENAME := SplitString(PkgInfo.ArchiveURL, " /" );
57+ ARCHIVE_BASENAME := ARCHIVE_BASENAME[ Length(ARCHIVE_BASENAME)] ;
58+ XMLEntities.ARCHIVE_BASENAME := ARCHIVE_BASENAME;
59+
60+ ARCHIVENAME := Concatenation(ARCHIVE_BASENAME, PkgInfo.ArchiveFormats);
5861XMLEntities.ARCHIVENAME := ARCHIVENAME;
5962
6063XMLEntities.DIGRAPHS := PackageEntity(" Digraphs" );
You can’t perform that action at this time.
0 commit comments