diff --git a/pkg.info b/pkg.info index ddd317b..6da2786 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: util-linux description: Linux system utilities version: 2.41.2 -revision: 1 +revision: 2 url: https://github.com/util-linux/util-linux license: GPL2 architecture: any diff --git a/source.sh b/source.sh index 786606c..421d3cf 100644 --- a/source.sh +++ b/source.sh @@ -2,11 +2,16 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT +# The prepare function is executed in the root of the temp directory +# This function is used for putting downloaded files to the correct location or applying patches +prepare() { + cd "$BPM_SOURCE" + ./autogen.sh +} + # The build function is executed in the source directory # This function is used to compile the source code build() { - ./autogen.sh - ./configure --bindir=/usr/bin \ --libdir=/usr/lib \ --runstatedir=/run \