diff --git a/.compilation-options b/.compilation-options deleted file mode 100644 index 9c7aafe..0000000 --- a/.compilation-options +++ /dev/null @@ -1 +0,0 @@ -ARCH=any diff --git a/pkg.info b/pkg.info index a4ee9a7..71a8944 100644 --- a/pkg.info +++ b/pkg.info @@ -3,5 +3,11 @@ description: /etc/protocols and /etc/services provided by IANA version: 20250826 url: https://www.iana.org/protocols architecture: any +output_architecture: any make_depends: ["coreutils"] +downloads: + - url: "https://github.com/Mic92/iana-etc/releases/download/${BPM_PKG_VERSION}/iana-etc-${BPM_PKG_VERSION}.tar.gz" + extract_to_bpm_source: true + extract_strip_components: 1 + checksum: d42525661c002c67d82d2e93fb99e1a58c91f47e9b2cff796f3092a4177a8666 type: source diff --git a/source.sh b/source.sh index 31eb2bf..450d511 100644 --- a/source.sh +++ b/source.sh @@ -2,16 +2,6 @@ # 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 -DOWNLOAD="https://github.com/Mic92/iana-etc/releases/download/${BPM_PKG_VERSION}/iana-etc-${BPM_PKG_VERSION}.tar.gz" -FILENAME="${DOWNLOAD##*/}" - -# The prepare function is executed in the root of the temp directory -# This function is used for downloading files and putting them into the correct location -prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" -} - # The package function is executed in the source directory # This function is used to move the compiled files into the output directory package() {