Project

General

Profile

« Previous | Next » 

Revision bc82ca34

Added by Marc Dequènes over 11 years ago

  • ID bc82ca3440990c1c681b8ffe84de5180726e333d

[evol] added licence information

View differences:

ext/debian_apt/debian_apt.i
1
/*
2
 * Ruby-Debian, a Ruby interface for Debian packaging aspects
3
 * Copyright (c) 2009 Marc Dequènes (Duck) <Duck@DuckCorp.org>
4
 *
5
 * This program is free software: you can redistribute it and/or modify
6
 * it under the terms of the GNU General Public License as published by
7
 * the Free Software Foundation, either version 3 of the License, or
8
 * (at your option) any later version.
9
 *
10
 * This program is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 * GNU General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU General Public License
16
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
 */
1 18

  
2 19
%module "debian_apt"
3 20

  
ext/debian_apt/extconf.rb
1
#--
2
# Ruby-Debian, a Ruby interface for Debian packaging aspects
3
# Copyright (c) 2009 Marc Dequènes (Duck) <Duck@DuckCorp.org>
4
#
5
# This program is free software: you can redistribute it and/or modify
6
# it under the terms of the GNU General Public License as published by
7
# the Free Software Foundation, either version 3 of the License, or
8
# (at your option) any later version.
9
#
10
# This program is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
# GNU General Public License for more details.
14
#
15
# You should have received a copy of the GNU General Public License
16
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
#++
18

  
1 19
require 'mkmf'
2 20
have_library('apt-pkg')
3 21
create_makefile("debian_apt")
ext/debian_apt/post-clean.rb
1
#--
2
# Ruby-Debian, a Ruby interface for Debian packaging aspects
3
# Copyright (c) 2009 Marc Dequènes (Duck) <Duck@DuckCorp.org>
4
#
5
# This program is free software: you can redistribute it and/or modify
6
# it under the terms of the GNU General Public License as published by
7
# the Free Software Foundation, either version 3 of the License, or
8
# (at your option) any later version.
9
#
10
# This program is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
# GNU General Public License for more details.
14
#
15
# You should have received a copy of the GNU General Public License
16
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
#++
1 18

  
2 19
system("rm -f *_wrap.cxx")
3 20

  
ext/debian_apt/pre-setup.rb
1
#--
2
# Ruby-Debian, a Ruby interface for Debian packaging aspects
3
# Copyright (c) 2009 Marc Dequènes (Duck) <Duck@DuckCorp.org>
4
#
5
# This program is free software: you can redistribute it and/or modify
6
# it under the terms of the GNU General Public License as published by
7
# the Free Software Foundation, either version 3 of the License, or
8
# (at your option) any later version.
9
#
10
# This program is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
# GNU General Public License for more details.
14
#
15
# You should have received a copy of the GNU General Public License
16
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
#++
1 18

  
2 19
system("swig -c++ -ruby -Wall -autorename debian_apt.i")
3 20

  
lib/debian/version.rb
1 1
#!/usr/bin/ruby
2 2

  
3
#--
4
# Ruby-Debian, a Ruby interface for Debian packaging aspects
5
# Copyright (c) 2009 Marc Dequènes (Duck) <Duck@DuckCorp.org>
6
#
7
# This program is free software: you can redistribute it and/or modify
8
# it under the terms of the GNU General Public License as published by
9
# the Free Software Foundation, either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# This program is distributed in the hope that it will be useful,
13
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
#++
20

  
3 21
require 'debian_apt'
4 22

  
5 23
module Debian_apt

Also available in: Unified diff