Fix dependencies, add config file and add license
This commit is contained in:
@@ -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