Skip to content

Commit

Permalink
deb,rpmL switch to autoconf
Browse files Browse the repository at this point in the history
  • Loading branch information
stsp committed Dec 17, 2024
1 parent 2cc0f63 commit debee92
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
1 change: 1 addition & 0 deletions Makefile.conf.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
prefix := @prefix@
exec_prefix := @exec_prefix@
libdir := @libdir@
datarootdir := @datarootdir@

Expand Down
1 change: 1 addition & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Build-Depends:
binutils-i686-linux-gnu,
universal-ctags,
autoconf,
automake,
pkgconf,
libelf-dev,
debhelper (>= 9~)
Expand Down
6 changes: 0 additions & 6 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,3 @@

%:
dh $@ --no-parallel

override_dh_auto_build:
dh_auto_build $@ -- prefix=/usr

override_dh_auto_install:
dh_auto_install $@ -- prefix=/usr
7 changes: 5 additions & 2 deletions dj64.spec.rpkg
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ VCS: {{{ git_dir_vcs }}}
Source0: {{{ git_dir_archive }}}

BuildRequires: autoconf
BuildRequires: automake
BuildRequires: make
BuildRequires: sed
BuildRequires: bash
Expand All @@ -36,14 +37,16 @@ dj64 is a 64-bit djgpp-compatible dev suite.
%end

%build
make prefix=%{_prefix}
autoreconf -v -i
%configure
make
%end

%check
%end

%install
make install DESTDIR=%{buildroot} prefix=%{_prefix} libdir=%{_libdir}
make install DESTDIR=%{buildroot}
%end


Expand Down

0 comments on commit debee92

Please sign in to comment.