Fix dependencies, add config file and add license
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
name: mtools
|
||||
description: A collection of utilities to access MS-DOS disks without mounting them
|
||||
version: 4.0.44
|
||||
revision: 2
|
||||
url: https://www.gnu.org/software/mtools/
|
||||
license: GPL3-or-later
|
||||
architecture: any
|
||||
depends: ["glibc"]
|
||||
optional_depends: ["libx11","libxau"]
|
||||
make_depends: ["libx11","texinfo"]
|
||||
type: source
|
||||
|
||||
@@ -15,7 +15,7 @@ prepare() {
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
./configure --prefix=/usr
|
||||
./configure --prefix=/usr --sysconfdir=/etc
|
||||
make
|
||||
}
|
||||
|
||||
@@ -29,4 +29,10 @@ check() {
|
||||
# This function is used to move the compiled files into the output directory
|
||||
package() {
|
||||
make DESTDIR="$BPM_OUTPUT" install
|
||||
|
||||
# Install config file
|
||||
install -Dm644 "$BPM_SOURCE"/mtools.conf "$BPM_OUTPUT"/etc/mtools.conf
|
||||
|
||||
# Install package license
|
||||
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/mtools/COPYING
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user