Skip to content

Commit

Permalink
Merge pull request #10114 from joshrwolf/popt-autoconf
Browse files Browse the repository at this point in the history
use autoconf for popt, split into subpkgs
  • Loading branch information
rawlingsj authored Dec 20, 2023
2 parents 16dd40e + e70ddd8 commit 3323d42
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions popt.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: popt
version: 1.19
epoch: 0
epoch: 1
description: commandline option parser
copyright:
- license: MIT
Expand All @@ -19,15 +19,14 @@ pipeline:
uri: http://ftp.rpm.org/popt/releases/popt-1.x/popt-${{package.version}}.tar.gz
expected-sha512: 5d1b6a15337e4cd5991817c1957f97fc4ed98659870017c08f26f754e34add31d639d55ee77ca31f29bb631c0b53368c1893bd96cf76422d257f7997a11f6466

- runs: |
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--libdir=/lib \
- uses: autoconf/configure
with:
opts: |
--disable-static
make
make DESTDIR="${{targets.destdir}}" install
- uses: autoconf/make

- uses: autoconf/make-install

subpackages:
- name: popt-dev
Expand All @@ -38,6 +37,16 @@ subpackages:
- popt
description: popt dev

- name: popt-lang
pipeline:
- uses: split/locales
description: popt locales

- name: popt-doc
pipeline:
- uses: split/manpages
description: popt manpages

update:
enabled: true
release-monitor:
Expand Down

0 comments on commit 3323d42

Please sign in to comment.