Then there is no other constraint than putting the packages and associated files like .dep in the directory ~/localrepo/salix or in a subdirectory of it, at any level. For instance after having stored the package and its associated .dep in ~/localrepo/salix/b/c then having run "sh metagen-simple all" in ~/localrepo I get this:
Code: Select all
didier[~/localrepo]$ tree
.
├── PACKAGES.TXT
├── PACKAGES.TXT.gz
├── metagen-simple.sh
└── salix
└── b
└── c
├── libreoffice-5.3.0-x86_64-1dj.dep
├── libreoffice-5.3.0-x86_64-1dj.meta
├── libreoffice-5.3.0-x86_64-1dj.txt
└── libreoffice-5.3.0-x86_64-1dj.txz
3 directories, 7 files
didier[~/localrepo]$
Code: Select all
didier[~/localrepo]$ cat PACKAGES.TXT
PACKAGE NAME: libreoffice-5.3.0-x86_64-1dj.txz
PACKAGE LOCATION: ./salix/b/c
PACKAGE SIZE (compressed): 125388 K
PACKAGE SIZE (uncompressed): 501552 K
PACKAGE REQUIRED: atk,cairo,gcc-g++,expat,fontconfig,freetype,gcc,gdk-pixbuf2,glib2,gtk+2,libICE,libSM,libX11,libXau,libXaw,libXcomposite,libXcursor,libXdamage,libXdmcp,libXext,libXfixes,libXi,libXinerama,libXmu,libXpm,libXrandr,libXrender,libXt,libpng,libxcb,libxml2,pango,pixman,python,util-linux,zlib
PACKAGE CONFLICTS:
PACKAGE SUGGESTS:
PACKAGE DESCRIPTION:
libreoffice: libreoffice (free office suite)
libreoffice:
libreoffice: LibreOffice is an Open Source,community-developed,office
libreoffice: productivity suite. It includes key desktop applications,such as a
libreoffice: word processor,spreadsheet,presentation manager,formula editor and
libreoffice: drawing program,with a user interface and feature set similar to
libreoffice: other office suites. LibreOffice also works transparently with a
libreoffice: variety of file formats,including Microsoft Office File Formats.
libreoffice:
libreoffice: libreoffice home: http://www.documentfoundation.org/
libreoffice:
didier[~/localrepo]$
Code: Select all
SOURCE=file:///home/didier/localrepo:CUSTOM